summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-01 15:32:39 +0100
committerJoas Schilling <coding@schilljs.com>2016-12-01 15:36:22 +0100
commit917cac543637016743f5375ce54c5240b0263130 (patch)
tree843b27fcbce2bcc7c494e1604ecc80e87767b14d /apps/updatenotification/appinfo
parent4ca7f9c896508f14ea2e5d9bdce8c3d986ea05dd (diff)
downloadnextcloud-server-917cac543637016743f5375ce54c5240b0263130.tar.gz
nextcloud-server-917cac543637016743f5375ce54c5240b0263130.zip
Use the settings icon for the update notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/appinfo')
-rw-r--r--apps/updatenotification/appinfo/app.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php
index f5bcf345669..e3010d418bb 100644
--- a/apps/updatenotification/appinfo/app.php
+++ b/apps/updatenotification/appinfo/app.php
@@ -43,10 +43,7 @@ if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) {
$manager = \OC::$server->getNotificationManager();
$manager->registerNotifier(function() use ($manager) {
- return new \OCA\UpdateNotification\Notification\Notifier(
- $manager,
- \OC::$server->getL10NFactory()
- );
+ return \OC::$server->query(\OCA\UpdateNotification\Notification\Notifier::class);
}, function() {
$l = \OC::$server->getL10N('updatenotification');
return [