Merge pull request #23254 from nextcloud/backport/23252/stable20
[stable20] Use the correct l10n for activities
This commit is contained in:
commit
f4891da160
|
@ -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