• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/checklistitem.php
  • Класс: CTaskCheckListItem
  • Вызов: CTaskCheckListItem::deleteByTaskId
static function deleteByTaskId($taskId)
{
	CTaskAssert::assert(CTaskAssert::isLaxIntegers($taskId) && $taskId > 0);

	try
	{
		TaskCheckListFacade::deleteByEntityIdOnLowLevel($taskId);
	}
	catch (Exception $e)
	{
		/** @noinspection PhpDeprecationInspection */
		throw new TasksException($e->getMessage(), TasksException::TE_ACTION_FAILED_TO_BE_PROCESSED);
	}
}