Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-07-16 12:36:32 +0300
committerJoas Schilling <coding@schilljs.com>2019-07-16 12:36:32 +0300
commit55f5bc79a148f065cffa8c97e1867c5814047ff0 (patch)
treef7873ae6cce3d3fa96ea620854e36f2470c25e3a /core/Application.php
parent6d71e471e166c30c0b9abe05d36240b9f1556d8e (diff)
Keep the old method as a fallback and adjust the tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Application.php')
-rw-r--r--core/Application.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Application.php b/core/Application.php
index 3a212f85472..7949cfd6638 100644
--- a/core/Application.php
+++ b/core/Application.php
@@ -65,8 +65,8 @@ class Application extends App {
$eventDispatcher = $server->query(IEventDispatcher::class);
$notificationManager = $server->getNotificationManager();
- $notificationManager->registerNotifier(RemoveLinkSharesNotifier::class);
- $notificationManager->registerNotifier(AuthenticationNotifier::class);
+ $notificationManager->registerNotifierService(RemoveLinkSharesNotifier::class);
+ $notificationManager->registerNotifierService(AuthenticationNotifier::class);
$eventDispatcher->addListener(IDBConnection::CHECK_MISSING_INDEXES_EVENT,
function (GenericEvent $event) use ($container) {