summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-01 16:57:51 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-02 10:11:58 +0100
commit25cbc17becc4a47d67ad24ce12118a0d6b0aacea (patch)
treeac9716da314371f67c74c7d2658da0ca992918a9 /lib/private
parentdfe677fabb63cf9d61e060d1bbf5bcb170eeb52a (diff)
downloadnextcloud-server-25cbc17becc4a47d67ad24ce12118a0d6b0aacea.tar.gz
nextcloud-server-25cbc17becc4a47d67ad24ce12118a0d6b0aacea.zip
Add activities when a tag is (un-)assigned
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/appframework/dependencyinjection/dicontainer.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php
index ff9da88cd81..5fc45fdd2e8 100644
--- a/lib/private/appframework/dependencyinjection/dicontainer.php
+++ b/lib/private/appframework/dependencyinjection/dicontainer.php
@@ -152,6 +152,10 @@ class DIContainer extends SimpleContainer implements IAppContainer {
return $this->getServer()->getL10N($c->query('AppName'));
});
+ $this->registerService('OCP\\L10N\\IFactory', function($c) {
+ return $this->getServer()->getL10NFactory();
+ });
+
$this->registerService('OCP\\ILogger', function($c) {
return $this->getServer()->getLogger();
});