Task::onTaskDelete

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Task
  4. onTaskDelete
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/control/task.php
  • Класс: BitrixTasksControlTask
  • Вызов: Task::onTaskDelete
private function onTaskDelete()
{
	foreach (GetModuleEvents('tasks', 'OnTaskDelete', true) as $arEvent)
	{
		ExecuteModuleEventEx($arEvent, [$this->taskId, $this->byPassParams]);
	}
	Listener::onTaskDelete($this->taskId);
	ItemTable::deactivateBySourceId($this->taskId);
}

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