EventAttendeesUpdate::removePreviousMeetingHostFromAttendeesCodes

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. EventAttendeesUpdate
  4. removePreviousMeetingHostFromAttendeesCodes
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/queue/processor/eventattendeesupdate.php
  • Класс: BitrixCalendarCoreQueueProcessorEventAttendeesUpdate
  • Вызов: EventAttendeesUpdate::removePreviousMeetingHostFromAttendeesCodes
protected function removePreviousMeetingHostFromAttendeesCodes(array $attendeesCodes, Event $event): array
{
	return array_filter(
		$attendeesCodes,
		static function ($attendeeCode) use ($event)
		{
			return $attendeeCode !== 'U' . $event->getEventHost()->getId();
		},
	);
}

Добавить комментарий