diff options
author | Joas Schilling <coding@schilljs.com> | 2019-04-30 14:29:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-07-15 15:15:00 +0200 |
commit | 6d71e471e166c30c0b9abe05d36240b9f1556d8e (patch) | |
tree | 561fe5a415ddfc239f9b6e2549df55bfa6a7e51b /apps/updatenotification/lib/AppInfo/Application.php | |
parent | 64f67818bcc6cc61cc49b1a7c032f3db85b73c91 (diff) | |
download | nextcloud-server-6d71e471e166c30c0b9abe05d36240b9f1556d8e.tar.gz nextcloud-server-6d71e471e166c30c0b9abe05d36240b9f1556d8e.zip |
Update shipped implementations of the INotifier
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/lib/AppInfo/Application.php')
-rw-r--r-- | apps/updatenotification/lib/AppInfo/Application.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/updatenotification/lib/AppInfo/Application.php b/apps/updatenotification/lib/AppInfo/Application.php index 14512bae838..91b9020d82e 100644 --- a/apps/updatenotification/lib/AppInfo/Application.php +++ b/apps/updatenotification/lib/AppInfo/Application.php @@ -71,14 +71,6 @@ class Application extends App { public function registerNotifier() { $notificationsManager = $this->getContainer()->getServer()->getNotificationManager(); - $notificationsManager->registerNotifier(function() { - return $this->getContainer()->query(Notifier::class); - }, function() { - $l = $this->getContainer()->getServer()->getL10N('updatenotification'); - return [ - 'id' => 'updatenotification', - 'name' => $l->t('Update notifications'), - ]; - }); + $notificationsManager->registerNotifier(Notifier::class); } } |