summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-03-29 14:44:35 +0000
committerDaouda Lo <daouda@mandriva.com>2004-03-29 14:44:35 +0000
commitaae028b9fe170781d92bbf9f587ba6b3c2b51e64 (patch)
tree85c1dcf9ee46c451f20bd6e6717ca707d5deee3d /mdkapplet
parent099502258349f0d1c54ca2563c52d832458c33b9 (diff)
downloadmgaonline-aae028b9fe170781d92bbf9f587ba6b3c2b51e64.tar
mgaonline-aae028b9fe170781d92bbf9f587ba6b3c2b51e64.tar.gz
mgaonline-aae028b9fe170781d92bbf9f587ba6b3c2b51e64.tar.bz2
mgaonline-aae028b9fe170781d92bbf9f587ba6b3c2b51e64.tar.xz
mgaonline-aae028b9fe170781d92bbf9f587ba6b3c2b51e64.zip
- remove not used functions
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet13
1 files changed, 0 insertions, 13 deletions
diff --git a/mdkapplet b/mdkapplet
index df60f80c..fd39aa6c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -289,19 +289,6 @@ sub rpmvercmp {
return 0;
}
}
-sub isNewVersion {
- my ($f, $d) = @_;
- if (($f =~ /^[0-9\.]+$/) && ($d =~ /^[0-9\.]+$/)) {
- while (1) {
- my ($f_d, $f_l) = $f =~ /^\.?([^\.]+)(.*)$/ or return $f gt $d;
- my ($d_d, $d_l) = $d =~ /^\.?([^\.]+)(.*)$/ or return $f gt $d;
- return 1 if ($f_d > $d_d);
- return 0 if ($f_d < $d_d);
- ($f, $d) = ($f_l, $d_l);
- }
- }
- return $f gt $d;
-}
sub cronUpdate {
my ($to) = shift;
$timeout = Glib::Timeout->add(60*60*1000, sub {