check for source cache
This commit is contained in:
parent
caadc8cdd9
commit
6b5daca7b7
|
@ -416,7 +416,9 @@ class Shared_Cache extends Cache {
|
|||
// bubble up to source cache
|
||||
$sourceCache = $this->getSourceCache($path);
|
||||
$parent = dirname($this->files[$path]);
|
||||
$sourceCache->correctFolderSize($parent);
|
||||
if ($sourceCache) {
|
||||
$sourceCache->correctFolderSize($parent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue