Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkorelstar <korelstar@users.noreply.github.com>2020-07-17 15:14:51 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-09-17 10:13:18 +0300
commitbd24021efc31ac860d8cc4db19d0d197494faf07 (patch)
treec348e9ab9b6bafe68e81448378f80cfb1616a2e2 /lib
parent8c2c8fd8311dadb77e2b07512811ba47487ef496 (diff)
fix: file quota was not applied in all cases
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Filesystem.php4
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