summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-10 10:35:57 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-10 10:35:57 +0000
commit6740d45284f3ba526964fc36617f40054d1497eb (patch)
tree7689fc0bc9db70817f2444a8fdd118e35a122b27
parent5c53e3c2129296ab7dede4b6e2b699b1b795fe42 (diff)
zap handle method, we finally no longer use it.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/UpdateSet.pm14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
index e326bf8e643..fe703e4b359 100644
--- a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
+++ b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: UpdateSet.pm,v 1.13 2009/11/10 10:28:12 espie Exp $
+# $OpenBSD: UpdateSet.pm,v 1.14 2009/11/10 10:35:56 espie Exp $
#
# Copyright (c) 2007 Marc Espie <espie@openbsd.org>
#
@@ -280,18 +280,6 @@ sub compute_size
}
}
-# temporary shortcut
-sub handle
-{
- my $self = shift;
- if (defined $self->{newer}) {
- return $self->{newer}[0];
- } else {
- return undef;
- }
-}
-
-# temporary creator
sub create_new
{
my ($class, $pkgname) = @_;