diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-08 15:09:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-08 15:09:21 +0300 |
commit | b8433dd3caa49fbc63dca34bc9dcafa5db14c62f (patch) | |
tree | 6883ada2ee22cf5129ea916bd688fe6a63c5fb73 | |
parent | 384d8577214c070d65f2812a1ddff365da5fbc33 (diff) | |
parent | a44492218684229e75585160e1a69fefec689fb1 (diff) |
Query Application class from server container (#218)
Query Application class from server container
-rw-r--r-- | appinfo/app.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index a2d1f7eb..5d78f178 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -21,5 +21,7 @@ * */ -$app = new \OCA\FirstRunWizard\AppInfo\Application(); +use OCA\FirstRunWizard\AppInfo\Application; + +$app = \OC::$server->query(Application::class); $app->register(); |