summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-09 12:04:32 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-24 11:26:53 +0200
commit96691138df3ce6b1fda98f2c1b9a42ced6e614c0 (patch)
treefb1d9de5bf9f801f86c6c9a0e19f8af74dc96b91 /apps/updatenotification/appinfo
parentc34788918d83ff3f10c44d2c8cb7dfde09b326a5 (diff)
downloadnextcloud-server-96691138df3ce6b1fda98f2c1b9a42ced6e614c0.tar.gz
nextcloud-server-96691138df3ce6b1fda98f2c1b9a42ced6e614c0.zip
Add tests for the background job
Diffstat (limited to 'apps/updatenotification/appinfo')
-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'),