aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-08-05 15:57:51 +0200
committerRobin Appelman <robin@icewind.nl>2020-08-05 16:13:03 +0200
commit227e362842a2340591608d6cb209e46a817f3403 (patch)
treed9a3a22b6f5298b1e433b7f79f603daff7ab5aa2 /lib/private/Server.php
parenta4d511d82767f54af086b366a6c08bc927cb870c (diff)
downloadnextcloud-server-227e362842a2340591608d6cb209e46a817f3403.tar.gz
nextcloud-server-227e362842a2340591608d6cb209e46a817f3403.zip
allow grouping of activity settings
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 09bb7336785..e59befda727 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -694,11 +694,13 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerService(\OCP\Activity\IManager::class, function (Server $c) {
+ $l10n = $this->get(IFactory::class)->get('activity');
return new \OC\Activity\Manager(
$c->getRequest(),
$c->getUserSession(),
$c->getConfig(),
- $c->query(IValidator::class)
+ $c->query(IValidator::class),
+ $l10n
);
});
$this->registerDeprecatedAlias('ActivityManager', \OCP\Activity\IManager::class);