Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-07 17:58:33 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-07 17:58:33 +0300
commit884e34b12a90f8958ac46e0b8c135d61c3895cd5 (patch)
treece99e6d9fe38fb00f808cec95a4a3d8f2dfc0941 /apps/dav/lib/CalDAV/CalDavBackend.php
parentf8c519f5f0b52075c5b343233a5e48f9bc8cf3aa (diff)
Remove the untyped calendar create event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/CalDAV/CalDavBackend.php')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index e14c0ec6b45..69924e62154 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -810,12 +810,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$calendarData = $this->getCalendarById($calendarId);
$this->dispatcher->dispatchTyped(new CalendarCreatedEvent((int)$calendarId, $calendarData));
- $this->legacyDispatcher->dispatch('\OCA\DAV\CalDAV\CalDavBackend::createCalendar', new GenericEvent(
- '\OCA\DAV\CalDAV\CalDavBackend::createCalendar',
- [
- 'calendarId' => $calendarId,
- 'calendarData' => $calendarData,
- ]));
return $calendarId;
}