Merge pull request #847 from nextcloud/quota-mount-in-homefolder

fix quota calculation when a filesystem is mounted in a user home
This commit is contained in:
Lukas Reschke 2016-08-28 15:05:46 +02:00 committed by GitHub
commit 25f1fdb275

View file

@ -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 {