Skip to content

Commit

Permalink
fix: file quota was not applied in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
korelstar committed Jul 17, 2020
1 parent 5cd404a commit d741f8f
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 d741f8f

Please sign in to comment.