From: Joas Schilling Date: Thu, 18 Jun 2020 13:00:19 +0000 (+0200) Subject: Fix event service listener registration X-Git-Tag: v20.0.0beta1~395^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9cf32a39992993a784c1fe1b4ed976a7b160fd5a;p=nextcloud-server.git Fix event service listener registration Signed-off-by: Joas Schilling --- diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php index c7b2290e6b8..ac7fe8eccb1 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'] );