• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/countersprocessorinstaller.php
  • Класс: CTaskCountersProcessorInstaller
  • Вызов: CTaskCountersProcessorInstaller::dropStageToCompleted
static function dropStageToCompleted()
{
	// drop stage option
	static::setStage(self::STAGE_INSTALL_COMPLETE);

	// remove all transitional agents
	$res = CAgent::GetList(array(), array(
		'NAME' => 'CTaskCountersProcessorInstaller%',
		'MODULE_ID' => 'tasks',
	));
	while($item = $res->fetch())
	{
		CAgent::RemoveAgent($item['NAME'], 'tasks');
	}
}