From 302d5f94ddac9bfa0914ea0a79dd78cc095c3b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Fri, 6 Sep 2013 18:33:19 +0200 Subject: [PATCH] // grmbl --- classes/Tools.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/classes/Tools.php b/classes/Tools.php index 4d7a14a85..b58cc2b3f 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2573,12 +2573,9 @@ exit; return $fileAttachment; } - public static function changeFileMTime($file_name, $time = null) + public static function changeFileMTime($file_name) { - if ($time === null) - $time = time(); - - touch($file_name, $time); + touch($file_name); } public static function waitUntilFileIsModified($file_name, $timeout = 180)