• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/update/eventwithlocationupdate.php
  • Класс: BitrixCalendarUpdateEventWithLocationUpdate
  • Вызов: EventWithLocationUpdate::updateLocationValueForChildEvents
private function updateLocationValueForChildEvents(string $phraseLocation, int $id) : void
{
	global $DB;
	$DB->Query("
		UPDATE b_calendar_event
		SET LOCATION = '" . $phraseLocation . "'
		WHERE PARENT_ID = " . $id. "
		AND PARENT_ID <> ID
		AND CAL_TYPE <> 'location'
		AND DELETED = 'N';"
	);
}