Skip to content
Snippets Groups Projects
Unverified Commit d8a80cd4 authored by korelstar's avatar korelstar Committed by Morris Jobke
Browse files

fix: file quota was not applied in all cases

parent 03603db4
Branches
No related tags found
No related merge requests found
...@@ -437,13 +437,13 @@ class Filesystem { ...@@ -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 // home mounts are handled seperate since we need to ensure this is mounted before we call the other mount providers
$homeMount = $mountConfigManager->getHomeMountForUser($userObject); $homeMount = $mountConfigManager->getHomeMountForUser($userObject);
self::getMountManager()->addMount($homeMount);
if ($homeMount->getStorageRootId() === -1) { if ($homeMount->getStorageRootId() === -1) {
$homeMount->getStorage()->mkdir(''); $homeMount->getStorage()->mkdir('');
$homeMount->getStorage()->getScanner()->scan(''); $homeMount->getStorage()->getScanner()->scan('');
} }
self::getMountManager()->addMount($homeMount);
\OC\Files\Filesystem::getStorage($user); \OC\Files\Filesystem::getStorage($user);
// Chance to mount for other storages // Chance to mount for other storages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment