From f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Fri, 28 Jan 2005 04:08:33 +0000 Subject: Bug 278791 : Move ModTime() to Bugzilla::Util Patch by Max K-A r=vladd a=justdave --- showdependencygraph.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 0d33d316d..da7f0d7b8 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -28,6 +28,7 @@ use lib qw(.); use File::Temp; use Bugzilla; use Bugzilla::Config qw(:DEFAULT $webdotdir); +use Bugzilla::Util; require "CGI.pl"; @@ -271,7 +272,7 @@ foreach my $f (@files) # symlinks), this can't escape to delete anything it shouldn't # (unless someone moves the location of $webdotdir, of course) trick_taint($f); - if (ModTime($f) < $since) { + if (file_mod_time($f) < $since) { unlink $f; } } -- cgit v1.2.3-24-g4f1b