Skip to content

Commit d8a80cd

Browse files
korelstarMorrisJobke
authored andcommitted
fix: file quota was not applied in all cases
1 parent 03603db commit d8a80cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/Files/Filesystem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,13 +437,13 @@ public static function initMountPoints($user = '') {
437437

438438
// home mounts are handled seperate since we need to ensure this is mounted before we call the other mount providers
439439
$homeMount = $mountConfigManager->getHomeMountForUser($userObject);
440+
self::getMountManager()->addMount($homeMount);
441+
440442
if ($homeMount->getStorageRootId() === -1) {
441443
$homeMount->getStorage()->mkdir('');
442444
$homeMount->getStorage()->getScanner()->scan('');
443445
}
444446

445-
self::getMountManager()->addMount($homeMount);
446-
447447
\OC\Files\Filesystem::getStorage($user);
448448

449449
// Chance to mount for other storages

0 commit comments

Comments
 (0)