diff options
author | korelstar <korelstar@users.noreply.github.com> | 2020-07-17 14:14:51 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 16:11:50 +0200 |
commit | d8a80cd45c2472537a8e2a1a889f799796c932fe (patch) | |
tree | 9078c924f39fcfa2ac1394105843be2a593ed77c /lib | |
parent | 03603db486debbb31dfa05486f3b10338a28b50c (diff) | |
download | nextcloud-server-d8a80cd45c2472537a8e2a1a889f799796c932fe.tar.gz nextcloud-server-d8a80cd45c2472537a8e2a1a889f799796c932fe.zip |
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 |