Skip to content

Commit

Permalink
[Import] [Ref] Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed May 14, 2022
1 parent d04c1b1 commit e975fdb
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 e975fdb

Please sign in to comment.