summaryrefslogtreecommitdiffstats
path: root/apps/federation/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/appinfo/app.php')
-rw-r--r--apps/federation/appinfo/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federation/appinfo/app.php b/apps/federation/appinfo/app.php
index 6c53810dd2c..23be2dd2124 100644
--- a/apps/federation/appinfo/app.php
+++ b/apps/federation/appinfo/app.php
@@ -22,5 +22,6 @@
namespace OCA\Federation\AppInfo;
-$app = new Application();
+/** @var Application $app */
+$app = \OC::$server->query(Application::class);
$app->registerHooks();