fix quota calculation when a filesystem is mounted in a user home
This commit is contained in:
parent
35358bdde0
commit
ef2116a17a
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ class OC_Helper {
|
||||||
/** @var \OC\Files\Storage\Wrapper\Quota $storage */
|
/** @var \OC\Files\Storage\Wrapper\Quota $storage */
|
||||||
$quota = $sourceStorage->getQuota();
|
$quota = $sourceStorage->getQuota();
|
||||||
}
|
}
|
||||||
$free = $sourceStorage->free_space('');
|
$free = $sourceStorage->free_space($rootInfo->getInternalPath());
|
||||||
if ($free >= 0) {
|
if ($free >= 0) {
|
||||||
$total = $free + $used;
|
$total = $free + $used;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue