From 25cbc17becc4a47d67ad24ce12118a0d6b0aacea Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 1 Feb 2016 16:57:51 +0100 Subject: Add activities when a tag is (un-)assigned --- lib/private/appframework/dependencyinjection/dicontainer.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/private') 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(); }); -- cgit v1.2.3