From 80ed5412f10beafed0674c9942705f3f11a3c972 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 13 Jul 2012 11:57:14 +0200 Subject: [PATCH] if the '/Shared' was the modified directory, than scan it. --- lib/filecache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filecache.php b/lib/filecache.php index 57c6f1915c..8d0f3c84f9 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -394,7 +394,7 @@ class OC_FileCache{ $cachedSize=self::getCachedSize($path,$root); $size=0; if($dir){ - if(self::inCache($path,$root)){ + if(self::inCache($path,$root) && $path != '/Shared'){ $parent=self::getFileId($fullPath); $query=OC_DB::prepare('SELECT size FROM *PREFIX*fscache WHERE parent=?'); $result=$query->execute(array($parent));