Correctly calculate used space for quota with external storage
issue #4348 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d83f1d96d4
commit
40560ca98d
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ class OC_Helper {
|
|||
$includeExtStorage = \OC::$server->getSystemConfig()->getValue('quota_include_external_storage', false);
|
||||
|
||||
if (!$rootInfo) {
|
||||
$rootInfo = \OC\Files\Filesystem::getFileInfo($path, false);
|
||||
$rootInfo = \OC\Files\Filesystem::getFileInfo($path, $includeExtStorage ? 'ext' : false);
|
||||
}
|
||||
if (!$rootInfo instanceof \OCP\Files\FileInfo) {
|
||||
throw new \OCP\Files\NotFoundException();
|
||||
|
|
Loading…
Reference in a new issue