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

remotes/origin/stable5
Robin Appelman 13 years ago
parent b8eea32478
commit 98e769d269
  1. 3
      lib/archive/zip.php

@ -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

Loading…
Cancel
Save