summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-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) = @_;