diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-28 15:05:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-28 15:05:46 +0200 |
commit | 25f1fdb2759effa6c75a3c25663234af3b9be68f (patch) | |
tree | 3c9f0ba4ffbb834ff46232f493f93f899d7f32cb /lib/private/legacy/helper.php | |
parent | b580c3664de3de11460e8adabc01f3f5eeb07d02 (diff) | |
parent | ef2116a17a4a99d5fac9e30a563d4a8f496edafb (diff) | |
download | nextcloud-server-25f1fdb2759effa6c75a3c25663234af3b9be68f.tar.gz nextcloud-server-25f1fdb2759effa6c75a3c25663234af3b9be68f.zip |
Merge pull request #847 from nextcloud/quota-mount-in-homefolder
fix quota calculation when a filesystem is mounted in a user home
Diffstat (limited to 'lib/private/legacy/helper.php')
-rw-r--r-- | lib/private/legacy/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/helper.php b/lib/private/legacy/helper.php index a5f410b87a4..b19e58a9e6c 100644 --- a/lib/private/legacy/helper.php +++ b/lib/private/legacy/helper.php @@ -612,7 +612,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 { |