always take root of the substorage
This commit is contained in:
parent
3fc7357ade
commit
92a82f02b3
|
@ -884,7 +884,7 @@ class View {
|
|||
if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) {
|
||||
continue;
|
||||
}
|
||||
$subCache = $subStorage->getCache($internalPath);
|
||||
$subCache = $subStorage->getCache('');
|
||||
$rootEntry = $subCache->get($internalPath);
|
||||
$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue