Skip to content
Snippets Groups Projects
Commit 80ed5412 authored by Björn Schießle's avatar Björn Schießle
Browse files

if the '/Shared' was the modified directory, than scan it.

parent 7b2ec414
No related branches found
No related tags found
No related merge requests found
...@@ -394,7 +394,7 @@ class OC_FileCache{ ...@@ -394,7 +394,7 @@ class OC_FileCache{
$cachedSize=self::getCachedSize($path,$root); $cachedSize=self::getCachedSize($path,$root);
$size=0; $size=0;
if($dir){ if($dir){
if(self::inCache($path,$root)){ if(self::inCache($path,$root) && $path != '/Shared'){
$parent=self::getFileId($fullPath); $parent=self::getFileId($fullPath);
$query=OC_DB::prepare('SELECT size FROM *PREFIX*fscache WHERE parent=?'); $query=OC_DB::prepare('SELECT size FROM *PREFIX*fscache WHERE parent=?');
$result=$query->execute(array($parent)); $result=$query->execute(array($parent));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment