summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-01-26 15:48:41 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-01-26 15:48:41 +0100
commit836b80919feb3e32ab54d605385c32a5da053cdc (patch)
treea14c504fb08bfc8358de892a328e160199ebc4a7
parent5da4071c4553b5ee64799856e4db58e9484d9839 (diff)
parentd6939d67daa0b412f1179136151ac84ca0712112 (diff)
downloadnextcloud-server-836b80919feb3e32ab54d605385c32a5da053cdc.tar.gz
nextcloud-server-836b80919feb3e32ab54d605385c32a5da053cdc.zip
Merge pull request #13660 from owncloud/remove-duplicate-service-definition
Remove duplicated definition of APIController
-rw-r--r--apps/files/appinfo/application.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files/appinfo/application.php b/apps/files/appinfo/application.php
index 13ff60daf89..5203946f827 100644
--- a/apps/files/appinfo/application.php
+++ b/apps/files/appinfo/application.php
@@ -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')
- );
- });
}
}