diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-05-12 17:29:57 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-05-17 15:09:46 +0200 |
commit | 4bb31c021e02d1076b5edc13d352e9c058e7c253 (patch) | |
tree | 9465a0b4e640623c3418aea6e54df7c8144caaf7 /apps/dav/lib/Command | |
parent | 07c9bf1adff8a2d10ff774da32c2ddd54fd01923 (diff) | |
download | nextcloud-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/lib/Command')
-rw-r--r-- | apps/dav/lib/Command/CreateCalendar.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 2bea82a345e..24368e8864c 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -94,7 +94,6 @@ class CreateCalendar extends Command { $random = \OC::$server->getSecureRandom(); $logger = \OC::$server->get(LoggerInterface::class); $dispatcher = \OC::$server->get(IEventDispatcher::class); - $legacyDispatcher = \OC::$server->getEventDispatcher(); $config = \OC::$server->get(IConfig::class); $name = $input->getArgument('name'); @@ -106,7 +105,6 @@ class CreateCalendar extends Command { $random, $logger, $dispatcher, - $legacyDispatcher, $config ); $caldav->createCalendar("principals/users/$user", $name, []); |