aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-18 15:00:19 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-18 15:00:19 +0200
commit9cf32a39992993a784c1fe1b4ed976a7b160fd5a (patch)
treee7bd4ef7f8dcd3b9e9a5b33023d6ab13ced2d4ae /lib
parent2f586bc7e09a909ff8d4d6a8c0821ea1efcba59c (diff)
downloadnextcloud-server-9cf32a39992993a784c1fe1b4ed976a7b160fd5a.tar.gz
nextcloud-server-9cf32a39992993a784c1fe1b4ed976a7b160fd5a.zip
Fix event service listener registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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']
);