From 9cf32a39992993a784c1fe1b4ed976a7b160fd5a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 18 Jun 2020 15:00:19 +0200 Subject: [PATCH] Fix event service listener registration Signed-off-by: Joas Schilling --- lib/private/AppFramework/Bootstrap/RegistrationContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php index c7b2290e6b..ac7fe8eccb 100644 --- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php +++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php @@ -199,7 +199,7 @@ class RegistrationContext { $registration['priority'] ); } else { - $eventDispatcher->addListener( + $eventDispatcher->addServiceListener( $registration['event'], $registration['listener'] );