Skip to content

Commit

Permalink
Merge pull request #21894 from nextcloud/fix-file-quota
Browse files Browse the repository at this point in the history
fix: file quota was not applied in all cases
  • Loading branch information
nickvergessen authored Aug 24, 2020
2 parents 77a31b5 + d8a80cd commit df85760
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 @@ -437,13 +437,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 df85760

Please sign in to comment.