54 $icalEvent = $this->icalComponent->getEvent();
59 if ($icalEvent->getRecurrenceId() !==
null)
61 $date = $this->getExdateFromRecurrenceId($icalEvent->getRecurrenceId());
64 \CCalendarEvent::ExcludeInstance(
66 $date->format(ExcludedDatesCollection::EXCLUDED_DATE_FORMAT)
74 return CCalendar::DeleteEvent($event[
'ID'],
true, [
75 'sendNotification' =>
true,
76 'userId' => (
int)$event[
'OWNER_ID'],