summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-28 05:08:33 +0100
committertravis%sedsystems.ca <>2005-01-28 05:08:33 +0100
commitf59ece67513bb56107a6a7d16cc4b1df9ab9aa9c (patch)
tree43175b0515d32618a7b795fb37fa440c34641abd /showdependencygraph.cgi
parentb61cb7207dea39ca70c2ffe3fbe3805506def34f (diff)
downloadbugzilla-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar.gz
bugzilla-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar.xz
Bug 278791 : Move ModTime() to Bugzilla::Util
Patch by Max K-A <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi3
1 files changed, 2 insertions, 1 deletions
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;
}
}