diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-04 15:26:48 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-24 11:26:51 +0200 |
commit | aac990eddf0a3bcc2c68b30ebc23b51ed5d0a54e (patch) | |
tree | 36fe8ebc11a93922fa775d9fb3eaac93578a7418 /lib | |
parent | 452542747cf895eaac69d7ca486a2dcb655785d0 (diff) | |
download | nextcloud-server-aac990eddf0a3bcc2c68b30ebc23b51ed5d0a54e.tar.gz nextcloud-server-aac990eddf0a3bcc2c68b30ebc23b51ed5d0a54e.zip |
Add a background job that generates notifications when an update is available
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')); }); |