From 8b322b23382db0d8f8fe7d7fde1d8edbdce5c6d1 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 27 Jan 2026 17:42:06 +0100 Subject: [PATCH] fix(systemtags): remove duplicated event listener Signed-off-by: Ferdinand Thiessen --- apps/systemtags/lib/AppInfo/Application.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/systemtags/lib/AppInfo/Application.php b/apps/systemtags/lib/AppInfo/Application.php index 7cdce513416..e0cb0a56d77 100644 --- a/apps/systemtags/lib/AppInfo/Application.php +++ b/apps/systemtags/lib/AppInfo/Application.php @@ -24,7 +24,6 @@ use OCP\BeforeSabrePubliclyLoadedEvent; use OCP\EventDispatcher\IEventDispatcher; use OCP\SystemTag\ManagerEvent; use OCP\SystemTag\MapperEvent; -use OCP\Util; class Application extends App implements IBootstrap { public const APP_ID = 'systemtags'; @@ -43,16 +42,6 @@ class Application extends App implements IBootstrap { public function boot(IBootContext $context): void { $context->injectFn(function (IEventDispatcher $dispatcher) use ($context): void { - /* - * @todo move the OCP events and then move the registration to `register` - */ - $dispatcher->addListener( - LoadAdditionalScriptsEvent::class, - function (): void { - Util::addInitScript(self::APP_ID, 'init'); - } - ); - $managerListener = function (ManagerEvent $event) use ($context): void { /** @var Listener $listener */ $listener = $context->getServerContainer()->query(Listener::class);