fix quota calculation when a filesystem is mounted in a user home

This commit is contained in:
Robin Appelman 2016-08-12 15:41:37 +02:00
parent 35358bdde0
commit ef2116a17a

View file

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