summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-17 11:54:18 +0200
committerGitHub <noreply@github.com>2020-09-17 11:54:18 +0200
commitbe1bcacced8dedab1301b979f32a6ad30ad1acc6 (patch)
treec93a7fc53e991d4eb0c14640334eb3f201fc9874
parent049e20b6cd1c6fa0deb86cbd5f2a33ed7215db2b (diff)
parent10c0ed6cee70dee49b6f83f689eea86484bc53bc (diff)
downloadnextcloud-server-be1bcacced8dedab1301b979f32a6ad30ad1acc6.tar.gz
nextcloud-server-be1bcacced8dedab1301b979f32a6ad30ad1acc6.zip
Merge pull request #22900 from nextcloud/backport/21894/stable18
[stable18] 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 4b04656f49b..daf5a7243e2 100644
--- a/lib/private/Files/Filesystem.php
+++ b/lib/private/Files/Filesystem.php
@@ -438,13 +438,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