From 6740d45284f3ba526964fc36617f40054d1497eb Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 10 Nov 2009 10:35:57 +0000 Subject: zap handle method, we finally no longer use it. --- usr.sbin/pkg_add/OpenBSD/UpdateSet.pm | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD') 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 # @@ -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) = @_; -- cgit v1.2.3