Merge pull request #13660 from owncloud/remove-duplicate-service-definition

Remove duplicated definition of APIController
This commit is contained in:
Thomas Müller 2015-01-26 15:48:41 +01:00
commit 836b80919f
1 changed files with 0 additions and 12 deletions

View File

@ -19,7 +19,6 @@ class Application extends App {
parent::__construct('files', $urlParams);
$container = $this->getContainer();
/**
* Controllers
*/
@ -52,16 +51,5 @@ class Application extends App {
$homeFolder
);
});
/**
* Controllers
*/
$container->registerService('APIController', function (IContainer $c) {
return new ApiController(
$c->query('AppName'),
$c->query('Request'),
$c->query('TagService')
);
});
}
}