summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-06-24 18:53:51 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-06-24 18:53:51 +0200
commit92a82f02b3f7e5422080fcaea33d89560ec260fb (patch)
treea7c7fe231bb0e22d60c3da86389e7c6a2817010a
parent3fc7357adea018878f5e1d41ea3c77d34ed73a98 (diff)
downloadnextcloud-server-92a82f02b3f7e5422080fcaea33d89560ec260fb.tar.gz
nextcloud-server-92a82f02b3f7e5422080fcaea33d89560ec260fb.zip
always take root of the substorage
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index c9c1fc3c1bc..51eefb9dac7 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -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;
}