From d3bb0df90c62172787431d88e5673939e3a250e3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 5 May 2022 08:30:42 +1200 Subject: [PATCH] Remove conflict download from preview I can't see where these would arise - but definitely not on the preview screen - which only runs basic validation --- CRM/Contact/Import/Form/Preview.php | 9 --------- templates/CRM/Contact/Import/Form/Preview.tpl | 11 ----------- 2 files changed, 20 deletions(-) diff --git a/CRM/Contact/Import/Form/Preview.php b/CRM/Contact/Import/Form/Preview.php index 3818a1ce00..922745ad82 100644 --- a/CRM/Contact/Import/Form/Preview.php +++ b/CRM/Contact/Import/Form/Preview.php @@ -77,17 +77,8 @@ class CRM_Contact_Import_Form_Preview extends CRM_Import_Form_Preview { $this->set('downloadMismatchRecordsUrl', CRM_Utils_System::url('civicrm/export', $urlParams)); } - $properties = array( - 'conflictRowCount', - 'downloadConflictRecordsUrl', - 'downloadMismatchRecordsUrl', - ); - $this->assign('mapper', $this->getMappedFieldLabels()); - foreach ($properties as $property) { - $this->assign($property, $this->get($property)); - } $this->assign('dataValues', $this->getDataRows([], 2)); $this->setStatusUrl(); diff --git a/templates/CRM/Contact/Import/Form/Preview.tpl b/templates/CRM/Contact/Import/Form/Preview.tpl index 5e883e2664..93bea4cec1 100644 --- a/templates/CRM/Contact/Import/Form/Preview.tpl +++ b/templates/CRM/Contact/Import/Form/Preview.tpl @@ -54,17 +54,6 @@ {/if} - {if $conflictRowCount} - {ts}Conflicting Rows{/ts} - {$conflictRowCount} - {ts}Rows with conflicting email addresses within this file. These rows will be skipped (not imported).{/ts} - {if $conflictRowCount} - - {/if} - - - {/if} - {ts}Valid Rows{/ts} {$validRowCount} -- 2.25.1