aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 48031c1467f..c82d3bd4ef4 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -876,7 +876,8 @@ class OC_Helper {
* @return array
*/
public static function getStorageInfo($path) {
- $rootInfo = \OC\Files\Filesystem::getFileInfo($path);
+ // return storage info without adding mount points
+ $rootInfo = \OC\Files\Filesystem::getFileInfo($path, false);
$used = $rootInfo['size'];
if ($used < 0) {
$used = 0;