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
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:31 +0300
commitae92f3301fa0e17d18b6fb66692c4d7e9376edc8 (patch)
tree7e22e46a81dc3b426affcd4fa6036e632df55742
parent58f7a0c254fa37db5e9e4779e93747ef32f6fa4f (diff)
fix: file quota was not applied in all cases
-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 075c1964347..47221b9d934 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