Skip to content
Snippets Groups Projects
Commit 98e769d2 authored by Robin Appelman's avatar Robin Appelman
Browse files

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

parent b8eea324
No related branches found
No related tags found
No related merge requests found
...@@ -74,8 +74,7 @@ class OC_Archive_ZIP extends OC_Archive{ ...@@ -74,8 +74,7 @@ class OC_Archive_ZIP extends OC_Archive{
* @return int * @return int
*/ */
function mtime($path){ function mtime($path){
$stat=$this->zip->statName($path); return filemtime($this->path);
return $stat['mtime'];
} }
/** /**
* get the files in a folder * get the files in a folder
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment