Merge pull request #8114 from nextcloud/settings-initalization-fix
Only initialize settings application if the instance is installed
This commit is contained in:
commit
ad5595c5c3
|
@ -723,8 +723,11 @@ class OC {
|
|||
self::registerAccountHooks();
|
||||
self::registerSettingsHooks();
|
||||
|
||||
// Make sure that the application class is not loaded before the database is setup
|
||||
if ($systemConfig->getValue("installed", false)) {
|
||||
$settings = new \OC\Settings\Application();
|
||||
$settings->register();
|
||||
}
|
||||
|
||||
//make sure temporary files are cleaned up
|
||||
$tmpManager = \OC::$server->getTempManager();
|
||||
|
|
Loading…
Reference in New Issue