add IClientService to DI container

This commit is contained in:
Christoph Wurst 2016-05-01 15:08:56 +02:00
parent 4575e8acfc
commit 13883d2d57
No known key found for this signature in database
GPG key ID: FEECD2543CA6EAF0

View file

@ -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();
});