fix(unified-search): Register config lexicon of core so the default is working

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/56521/head
Joas Schilling 2025-11-19 09:43:40 +07:00
parent ee6436b8a9
commit aa654dca44
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
1 changed files with 4 additions and 0 deletions

@ -9,6 +9,7 @@ declare(strict_types=1);
namespace OC\AppFramework\Bootstrap;
use OC\Core\AppInfo\ConfigLexicon;
use OC\Support\CrashReport\Registry;
use OC_App;
use OCP\App\AppPathNotFoundException;
@ -60,6 +61,9 @@ class Coordinator {
if ($this->registrationContext === null) {
$this->registrationContext = new RegistrationContext($this->logger);
}
$this->registrationContext->registerConfigLexicon('core', ConfigLexicon::class);
$apps = [];
foreach ($appIds as $appId) {
$this->eventLogger->start("bootstrap:register_app:$appId", "Register $appId");