dont use the mtimes stored in zip archives since they dont update correctly

This commit is contained in:
Robin Appelman 2012-07-20 00:52:10 +02:00
parent b8eea32478
commit 98e769d269

View file

@ -74,8 +74,7 @@ class OC_Archive_ZIP extends OC_Archive{
* @return int
*/
function mtime($path){
$stat=$this->zip->statName($path);
return $stat['mtime'];
return filemtime($this->path);
}
/**
* get the files in a folder