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
......@@ -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')
);
});
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment