diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-13 11:57:14 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-07-13 11:57:14 +0200 |
commit | 80ed5412f10beafed0674c9942705f3f11a3c972 (patch) | |
tree | e5d3a92f904ab6105feae6da2730441f956b221f /lib/filecache.php | |
parent | 7b2ec414773d020b756d84e7bd95e03c0791634d (diff) | |
download | nextcloud-server-80ed5412f10beafed0674c9942705f3f11a3c972.tar.gz nextcloud-server-80ed5412f10beafed0674c9942705f3f11a3c972.zip |
if the '/Shared' was the modified directory, than scan it.
Diffstat (limited to 'lib/filecache.php')
-rw-r--r-- | lib/filecache.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |