diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-08 12:38:31 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-08 12:38:45 +0300 |
commit | 5607dff2538775f1a1244f7e0d0611c4dd199f71 (patch) | |
tree | 1b852923a3fe341eb332259ec78ea375e931751e /appinfo | |
parent | 0a2d72ecc11a81db5005c7f8eab45d9aebb9a2fc (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.php | 2 |
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(); |