Use the correct l10n for activities
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f26998364b
commit
1f3e3e782f
|
@ -694,7 +694,7 @@ class Server extends ServerContainer implements IServerContainer {
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->registerService(\OCP\Activity\IManager::class, function (Server $c) {
|
$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(
|
return new \OC\Activity\Manager(
|
||||||
$c->getRequest(),
|
$c->getRequest(),
|
||||||
$c->getUserSession(),
|
$c->getUserSession(),
|
||||||
|
|
Loading…
Reference in New Issue