aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-11-01 10:38:49 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 19:20:35 +0100
commit421a40e7dbeb9a9c02e51f9ccc1a18472d6fb86d (patch)
tree9b6cce5a8b84896f548256407658b66f3d672eba
parent4ba709bb7174c260c29e728dfe623c007c1ffc56 (diff)
downloadnextcloud-server-421a40e7dbeb9a9c02e51f9ccc1a18472d6fb86d.tar.gz
nextcloud-server-421a40e7dbeb9a9c02e51f9ccc1a18472d6fb86d.zip
Was already registered in Server
The DIContainaer will query server anyways if it can't find it Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 439404f26ce..4c30b205961 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -125,9 +125,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return new OC\AppFramework\Logger($this->server->query(ILogger::class), $c->query('AppName'));
});
- $this->registerAlias(\OCP\AppFramework\Utility\IControllerMethodReflector::class, \OC\AppFramework\Utility\ControllerMethodReflector::class);
- $this->registerAlias('ControllerMethodReflector', \OCP\AppFramework\Utility\IControllerMethodReflector::class);
-
$this->registerService(IRequest::class, function() {
return $this->getServer()->query(IRequest::class);
});