diff options
author | travis%sedsystems.ca <> | 2005-01-28 04:08:33 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-01-28 04:08:33 +0000 |
commit | f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c (patch) | |
tree | 43175b0515d32618a7b795fb37fa440c34641abd /showdependencygraph.cgi | |
parent | b61cb7207dea39ca70c2ffe3fbe3805506def34f (diff) | |
download | bugs-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar bugs-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar.gz bugs-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar.bz2 bugs-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.tar.xz bugs-f59ece67513bb56107a6a7d16cc4b1df9ab9aa9c.zip |
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-x | showdependencygraph.cgi | 3 |
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; } } |