Merge pull request #31642 from nextcloud/revert-31529-backport/stable23/30889

Revert "[stable23] Fix listeners declaration in case of occ usage"
This commit is contained in:
blizzz 2022-03-21 13:42:16 +01:00 committed by GitHub
commit 5ecfdb2868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -727,8 +727,6 @@ 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