diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-05-17 09:33:54 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-05-17 09:33:54 +0200 |
commit | ca8d2e2f2e3c4818818a18aa8fad54085e09c1a2 (patch) | |
tree | 2fc85f5acf85a5c78003f44b51ebf3579fd2a429 /lib | |
parent | 5e03e9a843aeccfb66e9f4156afa4bae89065fa3 (diff) | |
parent | 13883d2d5737df2d6e7dba56cd1ffd90edd66322 (diff) | |
download | nextcloud-server-ca8d2e2f2e3c4818818a18aa8fad54085e09c1a2.tar.gz nextcloud-server-ca8d2e2f2e3c4818818a18aa8fad54085e09c1a2.zip |
Merge pull request #24370 from owncloud/iclientservice-dicontainer
add IClientService to DI container
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); }); |