Skip to content
Snippets Groups Projects
Commit 4dbb9808 authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

Remove another no-longer-used function

parent 07ab3d1c
Branches
Tags
No related merge requests found
......@@ -452,24 +452,6 @@ abstract class CRM_Import_Parser implements UserJobInterface {
$this->_maxLinesToProcess = 0;
}
/**
* Set and validate field values.
*
* @param array $elements
* array.
*/
public function setActiveFieldValues($elements): void {
$maxCount = count($elements) < $this->_activeFieldCount ? count($elements) : $this->_activeFieldCount;
for ($i = 0; $i < $maxCount; $i++) {
$this->_activeFields[$i]->setValue($elements[$i]);
}
// reset all the values that we did not have an equivalent import element
for (; $i < $this->_activeFieldCount; $i++) {
$this->_activeFields[$i]->resetValue();
}
}
/**
* Format the field values for input to the api.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment