• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicateindexmismatch.php
  • Класс: Bitrix\Crm\Integrity\DuplicateIndexMismatch
  • Вызов: DuplicateIndexMismatch::unregister
static function unregister($entityTypeID, $leftEntityID, $rightEntityID, $typeID, $matchHash, $userID,
									$scope = null)
{
	$params = array(
		'USER_ID'=> $userID,
		'ENTITY_TYPE_ID' => $entityTypeID,
		'TYPE_ID' => $typeID,
		'MATCH_HASH' => $matchHash,
		'L_ENTITY_ID' => $leftEntityID,
		'R_ENTITY_ID' => $rightEntityID
	);

	if ($scope !== null)
		$params['SCOPE'] = $scope;

	Entity\DuplicateIndexMismatchTable::delete($params);
}