summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/caldav.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2022-05-12 17:29:57 +0200
committerThomas Citharel <tcit@tcit.fr>2022-05-17 15:09:46 +0200
commit4bb31c021e02d1076b5edc13d352e9c058e7c253 (patch)
tree9465a0b4e640623c3418aea6e54df7c8144caaf7 /apps/dav/appinfo/v1/caldav.php
parent07c9bf1adff8a2d10ff774da32c2ddd54fd01923 (diff)
downloadnextcloud-server-4bb31c021e02d1076b5edc13d352e9c058e7c253.tar.gz
nextcloud-server-4bb31c021e02d1076b5edc13d352e9c058e7c253.zip
Remove all legacy event dispatchers from CalDAV & CardDAV backends
Move them to proper EventListeners and test them Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/appinfo/v1/caldav.php')
-rw-r--r--apps/dav/appinfo/v1/caldav.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php
index 6a496a992e6..1961df5f62b 100644
--- a/apps/dav/appinfo/v1/caldav.php
+++ b/apps/dav/appinfo/v1/caldav.php
@@ -61,7 +61,6 @@ $userManager = \OC::$server->getUserManager();
$random = \OC::$server->getSecureRandom();
$logger = \OC::$server->get(LoggerInterface::class);
$dispatcher = \OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class);
-$legacyDispatcher = \OC::$server->getEventDispatcher();
$config = \OC::$server->get(\OCP\IConfig::class);
$calDavBackend = new CalDavBackend(
@@ -72,7 +71,6 @@ $calDavBackend = new CalDavBackend(
$random,
$logger,
$dispatcher,
- $legacyDispatcher,
$config,
true
);