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.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/archive/zip.php b/lib/archive/zip.php
index 6631a649b16..b2d6674d639 100644
--- a/lib/archive/zip.php
+++ b/lib/archive/zip.php
@@ -11,7 +11,6 @@ class OC_Archive_ZIP extends OC_Archive{
* @var ZipArchive zip
*/
private $zip=null;
- private $success=false;
private $path;
function __construct($source){
@@ -74,8 +73,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