diff --git a/lib/archive/zip.php b/lib/archive/zip.php index 6631a649b16..ff405ce098b 100644 --- a/lib/archive/zip.php +++ b/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