[Pkg-owncloud-commits] [owncloud] 44/67: always take root of the substorage

David Prévot taffit at moszumanska.debian.org
Fri Jun 27 23:58:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 92a82f02b3f7e5422080fcaea33d89560ec260fb
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Tue Jun 24 18:53:51 2014 +0200

    always take root of the substorage
---
 lib/private/files/view.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index c9c1fc3..51eefb9 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;
 						}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list