summaryrefslogtreecommitdiffstats
path: root/lib/archive
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-20 00:52:10 +0200
committerRobin Appelman <icewind@owncloud.com>2012-07-20 00:52:10 +0200
commit98e769d2693d1798c25bba0b90c1e36995cce20a (patch)
treeb51836d8819a1c95960c6334feae1d6774767eca /lib/archive
parentb8eea32478df17bc0f512376022de4bfd827af49 (diff)
downloadnextcloud-server-98e769d2693d1798c25bba0b90c1e36995cce20a.tar.gz
nextcloud-server-98e769d2693d1798c25bba0b90c1e36995cce20a.zip
dont use the mtimes stored in zip archives since they dont update correctly
Diffstat (limited to 'lib/archive')
-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