Skip to content

Commit

Permalink
Merge pull request #23367 from eileenmcnaughton/import_prop
Browse files Browse the repository at this point in the history
[Ref][Import] Remove another good intention - random email counting
  • Loading branch information
eileenmcnaughton committed May 5, 2022
2 parents 266f005 + 13b7f5f commit 294d3cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CRM/Contact/Import/Parser/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser {
protected $_householdNameIndex;
protected $_organizationNameIndex;

protected $_allEmails;

protected $_phoneIndex;

/**
Expand Down Expand Up @@ -237,7 +235,6 @@ public function init() {
foreach ($this->_mapperKeys as $key) {
if (substr($key, 0, 5) == 'email' && substr($key, 0, 14) != 'email_greeting') {
$this->_emailIndex = $index;
$this->_allEmails = [];
}
if (substr($key, 0, 5) == 'phone') {
$this->_phoneIndex = $index;
Expand Down Expand Up @@ -402,9 +399,6 @@ public function summary(&$values): int {

return CRM_Import_Parser::ERROR;
}

/* otherwise, count it and move on */
$this->_allEmails[$email] = $this->_lineCount;
}
}
elseif ($errorRequired && !$this->_updateWithId) {
Expand Down

0 comments on commit 294d3cb

Please sign in to comment.