From aae028b9fe170781d92bbf9f587ba6b3c2b51e64 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Mon, 29 Mar 2004 14:44:35 +0000 Subject: - remove not used functions --- mdkapplet | 13 ------------- 1 file changed, 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 { -- cgit v1.2.1