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) {
|
if ($extOnly && $subStorage instanceof \OC\Files\Storage\Shared) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$subCache = $subStorage->getCache($internalPath);
|
$subCache = $subStorage->getCache('');
|
||||||
$rootEntry = $subCache->get($internalPath);
|
$rootEntry = $subCache->get($internalPath);
|
||||||
$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
|
$data['size'] += isset($rootEntry['size']) ? $rootEntry['size'] : 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue