aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 1d3d588e9fc..797b7a4b823 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -401,6 +401,11 @@ class Server extends ServerContainer implements IServerContainer {
$c->query(IValidator::class)
);
});
+ $this->registerService(\OCP\Activity\IEventMerger::class, function (Server $c) {
+ return new \OC\Activity\EventMerger(
+ $c->getL10N('lib')
+ );
+ });
$this->registerAlias(IValidator::class, Validator::class);
$this->registerService('AvatarManager', function (Server $c) {
return new AvatarManager(