From 13883d2d5737df2d6e7dba56cd1ffd90edd66322 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sun, 1 May 2016 15:08:56 +0200 Subject: add IClientService to DI container --- lib/private/AppFramework/DependencyInjection/DIContainer.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 2951ee536d2..439b631b50f 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -148,6 +148,10 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $this->getServer()->getRootFolder(); }); + $this->registerService('OCP\\Http\\Client\\IClientService', function($c) { + return $this->getServer()->getHTTPClientService(); + }); + $this->registerService('OCP\\IGroupManager', function($c) { return $this->getServer()->getGroupManager(); }); -- cgit v1.2.3