add IClientService to DI container
This commit is contained in:
parent
4575e8acfc
commit
13883d2d57
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue