Use the correct l10n for activities

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-10-07 10:50:06 +02:00 committed by backportbot[bot]
parent f26998364b
commit 1f3e3e782f
1 changed files with 1 additions and 1 deletions

View File

@ -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(),