mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #31530 from nextcloud/backport/stable22/30889
[stable22] Fix listeners declaration in case of occ usage
This commit is contained in:
commit
bfdc9cca33
1 changed files with 2 additions and 0 deletions
|
|
@ -727,6 +727,8 @@ 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');
|
||||
/* Build core application to make sure that listeners are registered */
|
||||
self::$server->get(\OC\Core\Application::class);
|
||||
}
|
||||
|
||||
//make sure temporary files are cleaned up
|
||||
|
|
|
|||
Loading…
Reference in a new issue