• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/userpause.php
  • Класс: BitrixImOpenLinesUserPause
  • Вызов: UserPause::start
public function start(): bool
{
	if ($this->options->getPause())
	{
		return false;
	}

	$this->options->setPause(true);
	QueueEvent::onAfterTMDayEnd(['USER_ID' => $this->userId]);
	$this->getLogger()->log(Log::TYPE_PAUSE, Log::TYPE_PAUSE_Y);

	return true;
}