if the '/Shared' was the modified directory, than scan it.
This commit is contained in:
parent
7b2ec41477
commit
80ed5412f1
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue