Skip to content

Commit

Permalink
Merge pull request #22900 from nextcloud/backport/21894/stable18
Browse files Browse the repository at this point in the history
[stable18] fix: file quota was not applied in all cases
  • Loading branch information
MorrisJobke authored Sep 17, 2020
2 parents 049e20b + 10c0ed6 commit be1bcac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/private/Files/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,13 +438,13 @@ public static function initMountPoints($user = '') {

// home mounts are handled seperate since we need to ensure this is mounted before we call the other mount providers
$homeMount = $mountConfigManager->getHomeMountForUser($userObject);
self::getMountManager()->addMount($homeMount);

if ($homeMount->getStorageRootId() === -1) {
$homeMount->getStorage()->mkdir('');
$homeMount->getStorage()->getScanner()->scan('');
}

self::getMountManager()->addMount($homeMount);

\OC\Files\Filesystem::getStorage($user);

// Chance to mount for other storages
Expand Down

0 comments on commit be1bcac

Please sign in to comment.