Merge pull request #22899 from nextcloud/backport/21894/stable19
[stable19] fix: file quota was not applied in all cases
This commit is contained in:
commit
ca2573c99e
|
@ -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
|
// home mounts are handled seperate since we need to ensure this is mounted before we call the other mount providers
|
||||||
$homeMount = $mountConfigManager->getHomeMountForUser($userObject);
|
$homeMount = $mountConfigManager->getHomeMountForUser($userObject);
|
||||||
|
self::getMountManager()->addMount($homeMount);
|
||||||
|
|
||||||
if ($homeMount->getStorageRootId() === -1) {
|
if ($homeMount->getStorageRootId() === -1) {
|
||||||
$homeMount->getStorage()->mkdir('');
|
$homeMount->getStorage()->mkdir('');
|
||||||
$homeMount->getStorage()->getScanner()->scan('');
|
$homeMount->getStorage()->getScanner()->scan('');
|
||||||
}
|
}
|
||||||
|
|
||||||
self::getMountManager()->addMount($homeMount);
|
|
||||||
|
|
||||||
\OC\Files\Filesystem::getStorage($user);
|
\OC\Files\Filesystem::getStorage($user);
|
||||||
|
|
||||||
// Chance to mount for other storages
|
// Chance to mount for other storages
|
||||||
|
|
Loading…
Reference in New Issue