summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-11-01 10:39:42 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-02 19:20:36 +0100
commit61adb513fe6578c3b5bcd467bc7be16bd97afa96 (patch)
treee11760c286ff60c1e7273fd91250086e9b45162b /lib/private
parent421a40e7dbeb9a9c02e51f9ccc1a18472d6fb86d (diff)
downloadnextcloud-server-61adb513fe6578c3b5bcd467bc7be16bd97afa96.tar.gz
nextcloud-server-61adb513fe6578c3b5bcd467bc7be16bd97afa96.zip
Request is already regsitered in the Server container
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index 4c30b205961..bbc106965b8 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -125,11 +125,6 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return new OC\AppFramework\Logger($this->server->query(ILogger::class), $c->query('AppName'));
});
- $this->registerService(IRequest::class, function() {
- return $this->getServer()->query(IRequest::class);
- });
- $this->registerAlias('Request', IRequest::class);
-
$this->registerAlias(\OCP\AppFramework\Utility\ITimeFactory::class, \OC\AppFramework\Utility\TimeFactory::class);
$this->registerAlias('TimeFactory', \OCP\AppFramework\Utility\ITimeFactory::class);