aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/appinfo/app.php')
-rw-r--r--apps/workflowengine/appinfo/app.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/workflowengine/appinfo/app.php b/apps/workflowengine/appinfo/app.php
index d99c5892231..552d8432600 100644
--- a/apps/workflowengine/appinfo/app.php
+++ b/apps/workflowengine/appinfo/app.php
@@ -19,6 +19,9 @@
*
*/
-$application = new \OCA\WorkflowEngine\AppInfo\Application();
+use \OCA\WorkflowEngine\AppInfo\Application;
+
+/** @var Application $application */
+$application = \OC::$server->query(Application::class);
$application->registerHooksAndListeners();
$application->registerRuleListeners();