]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix event service listener registration 21469/head
authorJoas Schilling <coding@schilljs.com>
Thu, 18 Jun 2020 13:00:19 +0000 (15:00 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 18 Jun 2020 13:00:19 +0000 (15:00 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/AppFramework/Bootstrap/RegistrationContext.php

index c7b2290e6b89e94425ec12111fafa314fde71cdd..ac7fe8eccb1f056ac815a262146beb8e72ac3d0e 100644 (file)
@@ -199,7 +199,7 @@ class RegistrationContext {
                                                $registration['priority']
                                        );
                                } else {
-                                       $eventDispatcher->addListener(
+                                       $eventDispatcher->addServiceListener(
                                                $registration['event'],
                                                $registration['listener']
                                        );