This commit is contained in:
Rémi Gaillard
2013-09-06 18:33:19 +02:00
parent a10b5a517f
commit 302d5f94dd
+2 -5
View File
@@ -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)