Skip to content
Snippets Groups Projects
Commit d6939d67 authored by Joas Schilling's avatar Joas Schilling
Browse files

Remove duplicated definition of APIController

parent 810d5a6a
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