diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-08-24 15:48:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 15:48:48 +0200 |
commit | df857604d517d744f89c307fea344c43aa3da71e (patch) | |
tree | 6ca175871c5d159f6bfbed184ceab5a3619e89e1 /lib | |
parent | 77a31b566ea08420cc5daad2b0d698881d7a7a02 (diff) | |
parent | d8a80cd45c2472537a8e2a1a889f799796c932fe (diff) | |
download | nextcloud-server-df857604d517d744f89c307fea344c43aa3da71e.tar.gz nextcloud-server-df857604d517d744f89c307fea344c43aa3da71e.zip |
Merge pull request #21894 from nextcloud/fix-file-quota
fix: file quota was not applied in all cases
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Filesystem.php b/lib/private/Files/Filesystem.php index 9d534815cdc..b85554ae333 100644 --- a/lib/private/Files/Filesystem.php +++ b/lib/private/Files/Filesystem.php @@ -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 |