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

This commit is contained in:
Bjoern Schiessle 2012-07-13 11:57:14 +02:00
parent 7b2ec41477
commit 80ed5412f1

View file

@ -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));