]> source.dussan.org Git - nextcloud-server.git/commitdiff
if the '/Shared' was the modified directory, than scan it.
authorBjoern Schiessle <schiessle@owncloud.com>
Fri, 13 Jul 2012 09:57:14 +0000 (11:57 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 13 Jul 2012 09:57:14 +0000 (11:57 +0200)
lib/filecache.php

index 57c6f1915c9ee7b97f0068041dff050cd8a85fa0..8d0f3c84f93d1cd2514cb545cb0a510215d2c555 100644 (file)
@@ -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));