Skip to content

Commit

Permalink
[REF] [Import] Remove unused field get action
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed May 11, 2022
1 parent 4b61b72 commit ed0eee5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion CRM/Contribute/Import/Parser/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ public function set($store, $mode = self::MODE_SUMMARY) {
$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());
Expand Down
1 change: 0 additions & 1 deletion CRM/Custom/Import/Parser/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ public function set($store, $mode = self::MODE_SUMMARY) {
$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());
Expand Down
1 change: 0 additions & 1 deletion CRM/Event/Import/Form/MapField.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public function buildQuickForm() {
$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) {
Expand Down
1 change: 0 additions & 1 deletion CRM/Event/Import/Parser/Participant.php
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,6 @@ public function set($store, $mode = self::MODE_SUMMARY) {
$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());
Expand Down
1 change: 0 additions & 1 deletion CRM/Member/Import/Form/MapField.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ public function buildQuickForm() {
$hasHeaders = !empty($this->_columnHeaders);
$headerPatterns = $this->get('headerPatterns');
$dataPatterns = $this->get('dataPatterns');
$hasLocationTypes = $this->get('fieldTypes');

/* Initialize all field usages to false */

Expand Down
1 change: 0 additions & 1 deletion CRM/Member/Import/Parser/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ public function set($store, $mode = self::MODE_SUMMARY) {
$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());
Expand Down

0 comments on commit ed0eee5

Please sign in to comment.