summaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lookup_server_connector/appinfo/app.php')
-rw-r--r--apps/lookup_server_connector/appinfo/app.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/lookup_server_connector/appinfo/app.php b/apps/lookup_server_connector/appinfo/app.php
index e1064b144a4..4fae295e96a 100644
--- a/apps/lookup_server_connector/appinfo/app.php
+++ b/apps/lookup_server_connector/appinfo/app.php
@@ -19,5 +19,7 @@
*
*/
-$app = new \OCA\LookupServerConnector\AppInfo\Application();
+use OCA\LookupServerConnector\AppInfo\Application;
+
+$app = \OC::$server->query(Application::class);
$app->register();