check that we know the parent
This commit is contained in:
parent
6b5daca7b7
commit
8688660825
|
@ -415,12 +415,14 @@ class Shared_Cache extends Cache {
|
|||
} else {
|
||||
// bubble up to source cache
|
||||
$sourceCache = $this->getSourceCache($path);
|
||||
if (isset($this->files[$path])) {
|
||||
$parent = dirname($this->files[$path]);
|
||||
if ($sourceCache) {
|
||||
$sourceCache->correctFolderSize($parent);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* get the size of a folder and set it in the cache
|
||||
|
|
Loading…
Reference in New Issue