diff options
author | Robin Appelman <robin@icewind.nl> | 2019-11-04 19:25:00 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-11-04 19:51:37 +0100 |
commit | ef2fb51065aabb90e8e4234d84a78f4e047f7d1c (patch) | |
tree | a4a0152950139fb23255f68d7aaf6afd8a3b730f /apps/workflowengine/appinfo | |
parent | 5ca27085fcb01db920326ea9ad892cc9a49253ab (diff) | |
download | nextcloud-server-ef2fb51065aabb90e8e4234d84a78f4e047f7d1c.tar.gz nextcloud-server-ef2fb51065aabb90e8e4234d84a78f4e047f7d1c.zip |
remove missed manual Application instance constructions
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/workflowengine/appinfo')
-rw-r--r-- | apps/workflowengine/appinfo/app.php | 5 |
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(); |