Merge pull request #23254 from nextcloud/backport/23252/stable20

[stable20] Use the correct l10n for activities
This commit is contained in:
Morris Jobke 2020-10-07 12:24:28 +02:00 committed by GitHub
commit f4891da160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(),