Skip to content

Commit

Permalink
Merge pull request #23462 from eileenmcnaughton/import_ex
Browse files Browse the repository at this point in the history
[Import] [Ref] Remove unused variable
  • Loading branch information
demeritcowboy authored May 15, 2022
2 parents 3b17e3e + e975fdb commit 935d142
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CRM/Contact/Import/Parser/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,6 @@ public function import($onDuplicate, &$values) {
$errorMessage = $e->getMessage();
array_unshift($values, $errorMessage);

$importRecordParams = [
$statusFieldName => 'ERROR',
"${statusFieldName}Msg" => $errorMessage,
];
$this->setImportStatus((int) $values[count($values) - 1], 'ERROR', $errorMessage);
return CRM_Import_Parser::ERROR;
}
Expand Down

0 comments on commit 935d142

Please sign in to comment.