Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-08 12:38:31 +0300
committerJulius Härtl <jus@bitgrid.net>2019-11-08 12:38:45 +0300
commit5607dff2538775f1a1244f7e0d0611c4dd199f71 (patch)
tree1b852923a3fe341eb332259ec78ea375e931751e /appinfo
parent0a2d72ecc11a81db5005c7f8eab45d9aebb9a2fc (diff)
Query Application class from server container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 2079fbd0..7f9365c2 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -2,7 +2,7 @@
use OCA\GroupFolders\AppInfo\Application;
-$app = new Application();
+$app = \OC::$server->query(Application::class);
$app->register();
$eventDispatcher = \OC::$server->getEventDispatcher();