summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/appinfo/app.php')
-rw-r--r--apps/updatenotification/appinfo/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php
index de78da5da76..e9780757cc4 100644
--- a/apps/updatenotification/appinfo/app.php
+++ b/apps/updatenotification/appinfo/app.php
@@ -45,7 +45,8 @@ if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) {
$manager,
\OC::$server->getL10NFactory()
);
- }, function() use ($l) {
+ }, function() {
+ $l = \OC::$server->getL10N('updatenotification');
return [
'id' => 'updatenotification',
'name' => $l->t('Update notifications'),