aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/AppFramework/Bootstrap/RegistrationContext.php2
1 files changed, 1 insertions, 1 deletions
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']
);