From: Bjoern Schiessle Date: Fri, 13 Jul 2012 09:57:14 +0000 (+0200) Subject: if the '/Shared' was the modified directory, than scan it. X-Git-Tag: v4.0.5~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80ed5412f10beafed0674c9942705f3f11a3c972;p=nextcloud-server.git if the '/Shared' was the modified directory, than scan it. --- diff --git a/lib/filecache.php b/lib/filecache.php index 57c6f1915c9..8d0f3c84f93 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));