Browse Source

Merge pull request #21894 from nextcloud/fix-file-quota

fix: file quota was not applied in all cases
pull/22402/head
Joas Schilling 5 years ago
committed by GitHub
parent
commit
df857604d5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/private/Files/Filesystem.php

4
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

Loading…
Cancel
Save