diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-02-28 11:52:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 11:52:03 +0100 |
commit | 5c4cba17f78abfe6915882665a7d3925c7c883d9 (patch) | |
tree | 4faadfe64d6c51c374b651bbe2374d3e38098656 /lib | |
parent | cf3040898af3ba18cb445fe016c84a5d05cdf15d (diff) | |
parent | 63d7e7c798f6a6cbd56642a287673532b991c5ac (diff) | |
download | nextcloud-server-5c4cba17f78abfe6915882665a7d3925c7c883d9.tar.gz nextcloud-server-5c4cba17f78abfe6915882665a7d3925c7c883d9.zip |
Merge pull request #30889 from nextcloud/fix/fix-occ-listeners
Fix listeners declaration in case of occ usage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 3c10f7cb33a..c9f0ca008ba 100644 --- a/lib/base.php +++ b/lib/base.php @@ -730,6 +730,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 |