Instantiating the importJob with a table name and no createTable
does nothing but set the name so that getTableName() gets it
- import_table_name is always set so these lines do nothing
);
$form->set('originalColHeader', CRM_Utils_Array::value('original_col_header', $result));
-
- $table = $result['import_table_name'];
- $importJob = new CRM_Contact_Import_ImportJob($table);
- $form->set('importTableName', $importJob->getTableName());
+ $form->set('importTableName', $result['import_table_name']);
}
/**