• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/posting/segmentdatabuilder.php
  • Класс: BitrixSenderPostingSegmentDataBuilder
  • Вызов: SegmentDataBuilder::haltBuilding
public function haltBuilding()
{
	$groupState = $this->getCurrentGroupState();
	if ($groupState)
	{
		GroupStateTable::update(
			$groupState['ID'],
			[
				'STATE' => GroupStateTable::STATES['HALTED'],
			]
		);
	}
}