Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow DI of the workflow manager by the OCP interface
  • Loading branch information
nickvergessen committed Jul 27, 2016
commit da97a691485571f8339177b09e24420b6ae7f177
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ public function __construct($appName, $urlParams = array()){
return $this->getServer()->getEventDispatcher();
});

$this->registerService('OCP\WorkflowEngine\IManager', function ($c) {
return $c->query('OCA\WorkflowEngine\Manager');
});

$this->registerService('OCP\\AppFramework\\IAppContainer', function ($c) {
return $c;
});
Expand Down