summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-08-12 15:41:37 +0200
committerRobin Appelman <robin@icewind.nl>2016-08-12 15:41:37 +0200
commitef2116a17a4a99d5fac9e30a563d4a8f496edafb (patch)
tree3aeaa415584d2c621c1a853ce32f9621bf4d00da /lib
parent35358bdde08d4acd5afbd2ab31bea6aedf416c32 (diff)
downloadnextcloud-server-ef2116a17a4a99d5fac9e30a563d4a8f496edafb.tar.gz
nextcloud-server-ef2116a17a4a99d5fac9e30a563d4a8f496edafb.zip
fix quota calculation when a filesystem is mounted in a user home
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/helper.php b/lib/private/legacy/helper.php
index 62814e495d5..da562034959 100644
--- a/lib/private/legacy/helper.php
+++ b/lib/private/legacy/helper.php
@@ -600,7 +600,7 @@ class OC_Helper {
/** @var \OC\Files\Storage\Wrapper\Quota $storage */
$quota = $sourceStorage->getQuota();
}
- $free = $sourceStorage->free_space('');
+ $free = $sourceStorage->free_space($rootInfo->getInternalPath());
if ($free >= 0) {
$total = $free + $used;
} else {