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.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php
index 5002fd7c837..6a34aa79d9b 100644
--- a/apps/updatenotification/appinfo/app.php
+++ b/apps/updatenotification/appinfo/app.php
@@ -21,5 +21,8 @@
*
*/
-$app = new \OCA\UpdateNotification\AppInfo\Application();
+use \OCA\UpdateNotification\AppInfo\Application;
+
+/** @var Application $app */
+$app = \OC::$server->query(Application::class);
$app->register();