Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-10-25 14:11:10 +0300
committerGitHub <noreply@github.com>2021-10-25 14:11:10 +0300
commit2a4e92dcbdb4c68ec8476d8c77adbee2680d5707 (patch)
tree5c54f9244334d0d2001819d66da6db562b33772a /apps
parent6e7094bcb64394eea5b7f637c72c910f78601272 (diff)
parent51bff1f93bad72d969c89f9905353eed9e6ad0d9 (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.php1
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);