aboutsummaryrefslogtreecommitdiffstats
path: root/lib/archive/zip.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/archive/zip.php')
-rw-r--r--lib/archive/zip.php3
1 files changed, 1 insertions, 2 deletions
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