DuplicateManager::removeIndexes

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. DuplicateManager
  4. removeIndexes
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicatemanager.php
  • Класс: Bitrix\Crm\Integrity\DuplicateManager
  • Вызов: DuplicateManager::removeIndexes
static function removeIndexes(array $typeIDs, $entityTypeID, $userID, $enablePermissionCheck = false, $options = null)
{
	$scope = self::parseScopeOption($options);
	$params = new DedupeParams($entityTypeID, $userID, $enablePermissionCheck, $scope);
	foreach($typeIDs as $typeID)
	{
		$builder = new DuplicateIndexBuilder($typeID, $params);
		$builder->remove();
	}
}

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