Use the correct l10n for activities
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
99c101c976
commit
03d156a824
|
@ -694,7 +694,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
});
|
||||
|
||||
$this->registerService(\OCP\Activity\IManager::class, function (Server $c) {
|
||||
$l10n = $this->get(IFactory::class)->get('activity');
|
||||
$l10n = $this->get(IFactory::class)->get('lib');
|
||||
return new \OC\Activity\Manager(
|
||||
$c->getRequest(),
|
||||
$c->getUserSession(),
|
||||
|
|
Loading…
Reference in New Issue