[REF] [Import] Remove unused field get action
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 May 2022 01:06:32 +0000 (13:06 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 May 2022 01:12:07 +0000 (13:12 +1200)
CRM/Contribute/Import/Parser/Contribution.php
CRM/Custom/Import/Parser/Api.php
CRM/Event/Import/Form/MapField.php
CRM/Event/Import/Parser/Participant.php
CRM/Member/Import/Form/MapField.php
CRM/Member/Import/Parser/Membership.php

index adacc4140ca24167e0cb29b34782051ee7b73608..bed232eb4656e04ec39f9dde110a8ba2e7299631 100644 (file)
@@ -502,7 +502,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Import_Parser {
     $store->set('lineCount', $this->_lineCount);
     $store->set('separator', $this->_separator);
     $store->set('fields', $this->getSelectValues());
-    $store->set('fieldTypes', $this->getSelectTypes());
 
     $store->set('headerPatterns', $this->getHeaderPatterns());
     $store->set('dataPatterns', $this->getDataPatterns());
index 042c910c0292947488b8620455193cf40fc94052..80485e71118d79f6f3ced9792226e0d8b9be816b 100644 (file)
@@ -585,7 +585,6 @@ class CRM_Custom_Import_Parser_Api extends CRM_Import_Parser {
     $store->set('lineCount', $this->_lineCount);
     $store->set('separator', $this->_separator);
     $store->set('fields', $this->getSelectValues());
-    $store->set('fieldTypes', $this->getSelectTypes());
 
     $store->set('headerPatterns', $this->getHeaderPatterns());
     $store->set('dataPatterns', $this->getDataPatterns());
index 239769addc4fd03553d9fd4debe4fb1d03ee8f6b..c4907fd2a6eea11df4b05255172abbd38f4faaa7 100644 (file)
@@ -133,7 +133,6 @@ class CRM_Event_Import_Form_MapField extends CRM_Import_Form_MapField {
     $hasHeaders = !empty($this->_columnHeaders);
     $headerPatterns = $this->get('headerPatterns');
     $dataPatterns = $this->get('dataPatterns');
-    $hasLocationTypes = $this->get('fieldTypes');
     /* Initialize all field usages to false */
 
     foreach ($mapperKeys as $key) {
index adbd4d43f8a4170f1db37b9ba1684af373fe9b74..261235dda7b45a9b6739ba677c9ae2a3e9bb84f5 100644 (file)
@@ -949,7 +949,6 @@ class CRM_Event_Import_Parser_Participant extends CRM_Import_Parser {
     $store->set('lineCount', $this->_lineCount);
     $store->set('separator', $this->_separator);
     $store->set('fields', $this->getSelectValues());
-    $store->set('fieldTypes', $this->getSelectTypes());
 
     $store->set('headerPatterns', $this->getHeaderPatterns());
     $store->set('dataPatterns', $this->getDataPatterns());
index 63272188b37dfe12f16ab0fee3946ea8465016ff..a42622a550ff8f4dea90522061a1bdae0d541769 100644 (file)
@@ -148,7 +148,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField {
     $hasHeaders = !empty($this->_columnHeaders);
     $headerPatterns = $this->get('headerPatterns');
     $dataPatterns = $this->get('dataPatterns');
-    $hasLocationTypes = $this->get('fieldTypes');
 
     /* Initialize all field usages to false */
 
index 0e643ceb516c0450ebe344a4f8f7dff844e262b2..b484a964f8ee96b4061713c4d14ac3174443ebda 100644 (file)
@@ -342,7 +342,6 @@ class CRM_Member_Import_Parser_Membership extends CRM_Import_Parser {
     $store->set('lineCount', $this->_lineCount);
     $store->set('separator', $this->_separator);
     $store->set('fields', $this->getSelectValues());
-    $store->set('fieldTypes', $this->getSelectTypes());
 
     $store->set('headerPatterns', $this->getHeaderPatterns());
     $store->set('dataPatterns', $this->getDataPatterns());