diff options
Diffstat (limited to 'apps/updatenotification/appinfo/app.php')
-rw-r--r-- | apps/updatenotification/appinfo/app.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php index 2457ec21018..de78da5da76 100644 --- a/apps/updatenotification/appinfo/app.php +++ b/apps/updatenotification/appinfo/app.php @@ -40,8 +40,9 @@ if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) { } $manager = \OC::$server->getNotificationManager(); - $manager->registerNotifier(function() { + $manager->registerNotifier(function() use ($manager) { return new \OCA\UpdateNotification\Notification\Notifier( + $manager, \OC::$server->getL10NFactory() ); }, function() use ($l) { |