diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-05-07 11:36:23 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-05-07 12:13:45 +0200 |
commit | 257613e6efd429dd1c6cde4abbcbb590d32408e8 (patch) | |
tree | 104b2ae9487bc1ae17e8f936078abfdb38f1bd8b /apps/dav/lib/CalDAV/CalDavBackend.php | |
parent | f808267949e5513188961ca5f6fc38d57f6c7fd1 (diff) | |
download | nextcloud-server-257613e6efd429dd1c6cde4abbcbb590d32408e8.tar.gz nextcloud-server-257613e6efd429dd1c6cde4abbcbb590d32408e8.zip |
Remove the \OCA\DAV\CalDAV\CalDavBackend::createCalendarObject 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.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php index 058d4422d63..99504c4b5f1 100644 --- a/apps/dav/lib/CalDAV/CalDavBackend.php +++ b/apps/dav/lib/CalDAV/CalDavBackend.php @@ -1141,15 +1141,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription $shares = $this->getShares($calendarId); $this->dispatcher->dispatchTyped(new CalendarObjectCreatedEvent((int)$calendarId, $calendarRow, $shares, $objectRow)); - $this->legacyDispatcher->dispatch('\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject', new GenericEvent( - '\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject', - [ - 'calendarId' => $calendarId, - 'calendarData' => $calendarRow, - 'shares' => $shares, - 'objectData' => $objectRow, - ] - )); } else { $subscriptionRow = $this->getSubscriptionById($calendarId); |