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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index f7153247393..7674c16c26b 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -726,7 +726,8 @@ class OC {
// Make sure that the application class is not loaded before the database is setup
if ($systemConfig->getValue("installed", false)) {
- $settings = new \OC\Settings\Application();
+ OC_App::loadApp('settings');
+ $settings = new \OCA\Settings\AppInfo\Application();
$settings->register();
}