From 98e769d2693d1798c25bba0b90c1e36995cce20a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 20 Jul 2012 00:52:10 +0200 Subject: [PATCH] dont use the mtimes stored in zip archives since they dont update correctly --- lib/archive/zip.php | 3 +-- 1 file changed, 1 insertion(+), 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