diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php index de2f80a2cc22ab8e597ea4265b6856588176c754..340012c8b1b6e5c9f59aab84ca1b72fab278b38d 100644 --- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php +++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php @@ -234,7 +234,7 @@ class RegistrationContext { $registration['priority'] ); } else { - $eventDispatcher->addListener( + $eventDispatcher->addServiceListener( $registration['event'], $registration['listener'] );