if the '/Shared' was the modified directory, than scan it.
This commit is contained in:
parent
7b2ec41477
commit
80ed5412f1
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue