diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-11 08:21:24 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-11 08:21:24 +0200 |
commit | f6a79338d4ea66f9c341d004951b606b5310b478 (patch) | |
tree | a22bb539d6d5fcd18453167dfcaeaded99b336df /lib/base.php | |
parent | a373fd584846101ed1b7e12ce8a10cb564446975 (diff) | |
download | nextcloud-server-f6a79338d4ea66f9c341d004951b606b5310b478.tar.gz nextcloud-server-f6a79338d4ea66f9c341d004951b606b5310b478.zip |
Make sure we create an app's Application class just once
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 7674c16c26b..510a960e435 100644 --- a/lib/base.php +++ b/lib/base.php @@ -727,7 +727,7 @@ class OC { // Make sure that the application class is not loaded before the database is setup if ($systemConfig->getValue("installed", false)) { OC_App::loadApp('settings'); - $settings = new \OCA\Settings\AppInfo\Application(); + $settings = \OC::$server->query(\OCA\Settings\AppInfo\Application::class); $settings->register(); } |