diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-10-25 14:11:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 14:11:10 +0300 |
commit | 2a4e92dcbdb4c68ec8476d8c77adbee2680d5707 (patch) | |
tree | 5c54f9244334d0d2001819d66da6db562b33772a /apps | |
parent | 6e7094bcb64394eea5b7f637c72c910f78601272 (diff) | |
parent | 51bff1f93bad72d969c89f9905353eed9e6ad0d9 (diff) |
Merge pull request #29291 from nextcloud/fix/unable-to-login
[stable20] Fix unable to login errors due to file system not being initialized
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 158b454c792..32b0b5f931f 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -134,6 +134,7 @@ class ViewController extends Controller { * @throws \OCP\Files\NotFoundException */ protected function getStorageInfo() { + \OC_Util::setupFS(); $dirInfo = \OC\Files\Filesystem::getFileInfo('/', false); return \OC_Helper::getStorageInfo('/', $dirInfo); |