diff options
author | korelstar <korelstar@users.noreply.github.com> | 2020-07-17 14:14:51 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-09-17 07:13:18 +0000 |
commit | bd24021efc31ac860d8cc4db19d0d197494faf07 (patch) | |
tree | c348e9ab9b6bafe68e81448378f80cfb1616a2e2 | |
parent | 8c2c8fd8311dadb77e2b07512811ba47487ef496 (diff) | |
download | nextcloud-server-bd24021efc31ac860d8cc4db19d0d197494faf07.tar.gz nextcloud-server-bd24021efc31ac860d8cc4db19d0d197494faf07.zip |
fix: file quota was not applied in all cases
-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 |