diff --git a/CRM/Activity/Import/Form/DataSource.php b/CRM/Activity/Import/Form/DataSource.php index a244cb7e0a86..ca4e8eeb4c6b 100644 --- a/CRM/Activity/Import/Form/DataSource.php +++ b/CRM/Activity/Import/Form/DataSource.php @@ -34,13 +34,6 @@ class CRM_Activity_Import_Form_DataSource extends CRM_Import_Form_DataSource { */ public function buildQuickForm() { parent::buildQuickForm(); - - // FIXME: This 'onDuplicate' form element is never used -- copy/paste error? - $this->addRadio('onDuplicate', ts('On duplicate entries'), [ - CRM_Import_Parser::DUPLICATE_SKIP => ts('Skip'), - CRM_Import_Parser::DUPLICATE_UPDATE => ts('Update'), - CRM_Import_Parser::DUPLICATE_FILL => ts('Fill'), - ]); } /** @@ -48,7 +41,6 @@ public function buildQuickForm() { */ public function postProcess() { $this->storeFormValues([ - 'onDuplicate', 'dateFormats', 'savedMapping', ]); diff --git a/templates/CRM/Activity/Import/Form/DataSource.tpl b/templates/CRM/Activity/Import/Form/DataSource.tpl index 1287c6d6a501..5395b37fcf7f 100644 --- a/templates/CRM/Activity/Import/Form/DataSource.tpl +++ b/templates/CRM/Activity/Import/Form/DataSource.tpl @@ -7,47 +7,4 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{* Import Wizard - Step 1 (choose data source) *} -
{$form.uploadFile.label} | -{$form.uploadFile.html} - {ts}File format must be comma-separated-values (CSV).{/ts} {ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts} - |
-
- | {$form.skipColumnHeader.html}{$form.skipColumnHeader.label} - {ts}Check this box if the first row of your file consists of field names (Example: 'Contact ID', 'Activity Type', 'Activity Date').{/ts} - |
-
{$form.fieldSeparator.label} {help id='id-fieldSeparator' file='CRM/Contact/Import/Form/DataSource'} | -{$form.fieldSeparator.html} | -
{$form.savedMapping.label} | -{$form.savedMapping.html} - {ts}Select Saved Mapping or Leave blank to create a new One.{/ts} -{/if} - |
-