]> source.dussan.org Git - nextcloud-server.git/commitdiff
always take root of the substorage
authorBjoern Schiessle <schiessle@owncloud.com>
Tue, 24 Jun 2014 16:53:51 +0000 (18:53 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Tue, 24 Jun 2014 16:53:51 +0000 (18:53 +0200)
lib/private/files/view.php

index c9c1fc3c1bc9b84b9003908f60ea9fe0b6f6745a..51eefb9dac723b1a19a82647a226f1b0858b5c81 100644 (file)
@@ -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;
                                                }