aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-09-17 14:37:55 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-09-17 14:37:55 +0200
commit117c7ee654c5be9769158a3cbc3ee9cbd6116918 (patch)
tree89b516092b6537b12619bb47c31003c777d2bd37 /lib/private/Server.php
parent295eee671292b6e5ea0de24b3207927d4d70e9a7 (diff)
downloadnextcloud-server-117c7ee654c5be9769158a3cbc3ee9cbd6116918.tar.gz
nextcloud-server-117c7ee654c5be9769158a3cbc3ee9cbd6116918.zip
fix: Fix Event and Notification creation with the new required parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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 fb751104fd9..f48cc0d0a48 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -204,6 +204,7 @@ use OCP\Profile\IProfileManager;
use OCP\Profiler\IProfiler;
use OCP\Remote\Api\IApiFactory;
use OCP\Remote\IInstanceFactory;
+use OCP\RichObjectStrings\IRichTextFormatter;
use OCP\RichObjectStrings\IValidator;
use OCP\Route\IRouter;
use OCP\Security\Bruteforce\IThrottler;
@@ -648,6 +649,7 @@ class Server extends ServerContainer implements IServerContainer {
$c->get(IUserSession::class),
$c->get(\OCP\IConfig::class),
$c->get(IValidator::class),
+ $c->get(IRichTextFormatter::class),
$l10n
);
});
@@ -1285,7 +1287,7 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(\OCP\Security\Ip\IFactory::class, \OC\Security\Ip\Factory::class);
- $this->registerAlias(\OCP\RichObjectStrings\IRichTextFormatter::class, \OC\RichObjectStrings\RichTextFormatter::class);
+ $this->registerAlias(IRichTextFormatter::class, \OC\RichObjectStrings\RichTextFormatter::class);
$this->connectDispatcher();
}