summaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filecache.php')
-rw-r--r--lib/filecache.php2
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));