always take root of the substorage

remotes/origin/ldap_group_count
Bjoern Schiessle 11 years ago
parent 3fc7357ade
commit 92a82f02b3
  1. 2
      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;
}

Loading…
Cancel
Save