From fb2f6bd8ca4ed8879f82a2764d63d51a06670477 Mon Sep 17 00:00:00 2001 From: Matt Selsky Date: Thu, 26 Apr 2012 13:42:55 +0200 Subject: Bug 747189: Remove Bugzilla::Util::file_mod_time() r/a=LpSolit --- showdependencygraph.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'showdependencygraph.cgi') 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; } -- cgit v1.2.3-24-g4f1b