summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-30 15:13:26 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-30 15:13:26 +0000
commit1a3790cf280756ccc7db45cebde1e1a88fcfd17d (patch)
tree69bb319be8bd32ed8dd87521076e780a309d023e /perl-install/pkgs.pm
parent9082bbf94867ed702062d8a155d9227929f92d53 (diff)
downloaddrakx-1a3790cf280756ccc7db45cebde1e1a88fcfd17d.tar
drakx-1a3790cf280756ccc7db45cebde1e1a88fcfd17d.tar.gz
drakx-1a3790cf280756ccc7db45cebde1e1a88fcfd17d.tar.bz2
drakx-1a3790cf280756ccc7db45cebde1e1a88fcfd17d.tar.xz
drakx-1a3790cf280756ccc7db45cebde1e1a88fcfd17d.zip
removed obsoleted togglePackageSelection method no more used.
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 9c4afeedd..f79690b81 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -293,10 +293,6 @@ sub unselectPackage($$;$) {
}
1;
}
-sub togglePackageSelection($$;$) {
- my ($packages, $pkg, $o_otherOnly) = @_;
- $pkg->flag_selected ? unselectPackage($packages, $pkg, $o_otherOnly) : selectPackage($packages, $pkg, 0, $o_otherOnly);
-}
sub setPackageSelection($$$) {
my ($packages, $pkg, $value) = @_;
$value ? selectPackage($packages, $pkg) : unselectPackage($packages, $pkg);