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

github.com/nextcloud/firstrunwizard.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 15:09:21 +0300
committerGitHub <noreply@github.com>2019-11-08 15:09:21 +0300
commitb8433dd3caa49fbc63dca34bc9dcafa5db14c62f (patch)
tree6883ada2ee22cf5129ea916bd688fe6a63c5fb73
parent384d8577214c070d65f2812a1ddff365da5fbc33 (diff)
parenta44492218684229e75585160e1a69fefec689fb1 (diff)
Query Application class from server container (#218)
Query Application class from server container
-rw-r--r--appinfo/app.php4
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();