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

David Prévot taffit at moszumanska.debian.org
Fri Jun 27 23:58:17 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 113749bd96811312ef390d0e760e6206bba90e46
Author: Robin Appelman <icewind at owncloud.com>
Date:   Wed Jun 25 13:00:11 2014 +0200

    really 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 51eefb9..ff3cb9e 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -885,7 +885,7 @@ class View {
 								continue;
 							}
 							$subCache = $subStorage->getCache('');
-							$rootEntry = $subCache->get($internalPath);
+							$rootEntry = $subCache->get('');
 							$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