From 4d451bdc00e0ae843c41d91c9b6b19a8d947f43c Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Fri, 3 Jul 2020 17:56:54 -0400 Subject: [PATCH] Ignore location_type_id for dedupe on import also --- CRM/Dedupe/BAO/Rule.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CRM/Dedupe/BAO/Rule.php b/CRM/Dedupe/BAO/Rule.php index d05dd8e416..04cb87aa43 100644 --- a/CRM/Dedupe/BAO/Rule.php +++ b/CRM/Dedupe/BAO/Rule.php @@ -92,15 +92,6 @@ class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_DAO_Rule { break; case 'civicrm_address': - $id = 'contact_id'; - if (!empty($this->params['civicrm_address']['location_type_id'])) { - $locTypeId = CRM_Utils_Type::escape($this->params['civicrm_address']['location_type_id'], 'Integer', FALSE); - if ($locTypeId) { - $where[] = "t1.location_type_id = $locTypeId"; - } - } - break; - case 'civicrm_email': case 'civicrm_im': case 'civicrm_openid': -- 2.25.1