diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-01 10:39:42 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-02 19:20:36 +0100 |
commit | 61adb513fe6578c3b5bcd467bc7be16bd97afa96 (patch) | |
tree | e11760c286ff60c1e7273fd91250086e9b45162b /lib/private | |
parent | 421a40e7dbeb9a9c02e51f9ccc1a18472d6fb86d (diff) | |
download | nextcloud-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.php | 5 |
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); |