aboutsummaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-04-26 13:42:55 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-04-26 13:42:55 +0200
commitfb2f6bd8ca4ed8879f82a2764d63d51a06670477 (patch)
treeba20382558ba25b21f56f40704e03acd76b7306a /showdependencygraph.cgi
parent870deda4a2f8f4a427612127da8dde57294585e8 (diff)
downloadbugs-fb2f6bd8ca4ed8879f82a2764d63d51a06670477.tar
bugs-fb2f6bd8ca4ed8879f82a2764d63d51a06670477.tar.gz
bugs-fb2f6bd8ca4ed8879f82a2764d63d51a06670477.tar.bz2
bugs-fb2f6bd8ca4ed8879f82a2764d63d51a06670477.tar.xz
bugs-fb2f6bd8ca4ed8879f82a2764d63d51a06670477.zip
Bug 747189: Remove Bugzilla::Util::file_mod_time()
r/a=LpSolit
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 32abf1747..842e12f2a 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -296,7 +296,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);
- my $mtime = file_mod_time($f);
+ my $mtime = (stat($f))[9];
if ($mtime && $mtime < $since) {
unlink $f;
}