Skip to content
Snippets Groups Projects
Commit 836b8091 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

Remove duplicated definition of APIController
parents 5da4071c d6939d67
No related branches found
No related tags found
No related merge requests found
......@@ -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')
);
});
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment