diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-25 09:13:10 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-25 09:13:10 +0200 |
commit | c36cf30ade2107342710c31ce963a7b9a224c902 (patch) | |
tree | 5fc58fc8e4f7e29949f99a09b53544f99d2805a5 /lib | |
parent | 768a057aab5f4ae9bd876cb1a9c951c48048d8f5 (diff) | |
parent | a1e872aad6c2483e7349609690f9172192f4559a (diff) | |
download | nextcloud-server-c36cf30ade2107342710c31ce963a7b9a224c902.tar.gz nextcloud-server-c36cf30ade2107342710c31ce963a7b9a224c902.zip |
Merge pull request #24444 from owncloud/update-notifications-for-core-and-apps
Update notifications for core and apps
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 e120479ac59..92c3f618bdc 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -157,6 +157,10 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $this->getServer()->getGroupManager(); }); + $this->registerService('OCP\\Http\\Client\\IClientService', function() { + return $this->getServer()->getHTTPClientService(); + }); + $this->registerService('OCP\\IL10N', function($c) { return $this->getServer()->getL10N($c->query('AppName')); }); |