Fix
This commit is contained in:
22
appinfo/application.php
Normal file
22
appinfo/application.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace OCA\Deckflow\AppInfo;
|
||||
|
||||
use OCP\AppFramework\App;
|
||||
use OCA\Deckflow\Controller\SettingsController;
|
||||
|
||||
class Application extends App {
|
||||
public function __construct() {
|
||||
parent::__construct('deckflow');
|
||||
}
|
||||
|
||||
public function register() {
|
||||
$this->getContainer()->registerService('SettingsController', function($c) {
|
||||
return new SettingsController(
|
||||
$c->query('OCP\IRequest'),
|
||||
$c->query('OCP\IUserSession'),
|
||||
$c->query('OCA\Deckflow\Service\WorkflowService')
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user