From 758ebe04465e533ceade096f5ebd1fdc08314b1f Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sun, 19 Aug 2012 06:18:40 +0200
Subject: [PATCH] don't report ctime in the archive storage backend since it
 isn't reliable

---
 apps/files_archive/lib/storage.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_archive/lib/storage.php b/apps/files_archive/lib/storage.php
index 855e0a705c..cd750427af 100644
--- a/apps/files_archive/lib/storage.php
+++ b/apps/files_archive/lib/storage.php
@@ -57,7 +57,7 @@ class OC_Filestorage_Archive extends OC_Filestorage_Common{
 		return opendir('fakedir://'.$id);
 	}
 	public function stat($path){
-		$ctime=filectime($this->path);
+		$ctime=-1;
 		$path=$this->stripPath($path);
 		if($path==''){
 			$stat=stat($this->path);
-- 
GitLab