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:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-17 17:33:27 +0300
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2019-09-28 12:39:28 +0300
commitde6940352a2f708376219a89ec84a8e6d25ca59e (patch)
tree459bacfc183b24d611be1877fbe22bbcd4efb1d6 /lib/base.php
parentc8cd607681ac128228f57114ce14dd67ab05de04 (diff)
Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
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();
}