Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Build OC\Core\Application when running occ or cron to register listen…
…ers correctly

Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Feb 28, 2022
commit 63d7e7c798f6a6cbd56642a287673532b991c5ac
2 changes: 2 additions & 0 deletions lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ public static function init() {
// 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
Expand Down