mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
dont use the mtimes stored in zip archives since they dont update correctly
This commit is contained in:
parent
b8eea32478
commit
98e769d269
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue