'used' => 'Unsupervised',
'contact_type' => $contactTypes[$contactTypeId],
);
- list($ruleFields, $threshold) = CRM_Dedupe_BAO_RuleGroup::dedupeRuleFieldsWeight($params);
+ list($ruleFields, $threshold) = CRM_Dedupe_BAO_DedupeRuleGroup::dedupeRuleFieldsWeight($params);
$weightSum = 0;
foreach ($importKeys as $key => $val) {
if (array_key_exists($val, $ruleFields)) {
}
$fileName = $this->controller->exportValue('DataSource', 'uploadFile');
- $seperator = $this->controller->exportValue('DataSource', 'fieldSeparator');
+ $separator = $this->controller->exportValue('DataSource', 'fieldSeparator');
$skipColumnHeader = $this->controller->exportValue('DataSource', 'skipColumnHeader');
$mapperKeys = [];
}
$parser = new CRM_Member_Import_Parser_Membership($mapperKeysMain, $mapperLocType, $mapperPhoneType);
- $parser->run($fileName, $seperator, $mapper, $skipColumnHeader,
+ $parser->run($fileName, $separator, $mapper, $skipColumnHeader,
CRM_Import_Parser::MODE_PREVIEW, $this->get('contactType')
);
// add all the necessary variables to the form