Skip to content
Snippets Groups Projects
Unverified Commit df857604 authored by Joas Schilling's avatar Joas Schilling Committed by GitHub
Browse files

Merge pull request #21894 from nextcloud/fix-file-quota

fix: file quota was not applied in all cases
parents 77a31b56 d8a80cd4
No related branches found
No related tags found
No related merge requests found
......@@ -437,13 +437,13 @@ class Filesystem {
// 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment