]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use the correct l10n for activities 23254/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 7 Oct 2020 08:50:06 +0000 (10:50 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 7 Oct 2020 09:37:23 +0000 (09:37 +0000)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Server.php

index ffe91e93f880ce313abae1dcf472a1477ba0ce7f..75b354332259d952a5255113cdd3696cbb8feadb 100644 (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(),