projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #22487 from mattwire/repeattransactiontemplatecontribution
[civicrm-core.git]
/
CRM
/
Import
/
DataSource
/
CSV.php
diff --git
a/CRM/Import/DataSource/CSV.php
b/CRM/Import/DataSource/CSV.php
index 8ea4f0cda93243cc8369df02aaf10e35ab868245..79e68a0d7ff21af016d3f4153316d18906047766 100644
(file)
--- a/
CRM/Import/DataSource/CSV.php
+++ b/
CRM/Import/DataSource/CSV.php
@@
-68,17
+68,12
@@
class CRM_Import_DataSource_CSV extends CRM_Import_DataSource {
}
/**
}
/**
- * Process the form submission.
- *
- * @param array $params
- * @param string $db
- * @param \CRM_Core_Form $form
+ * Initialize the datasource, based on the submitted values stored in the user job.
*
* @throws \API_Exception
* @throws \CRM_Core_Exception
*
* @throws \API_Exception
* @throws \CRM_Core_Exception
- * @throws \API_Exception
*/
*/
- public function
postProcess(&$params, &$db, &$form)
{
+ public function
initialize(): void
{
$result = self::_CsvToTable(
$this->getSubmittedValue('uploadFile')['name'],
$this->getSubmittedValue('skipColumnHeader'),
$result = self::_CsvToTable(
$this->getSubmittedValue('uploadFile')['name'],
$this->getSubmittedValue('skipColumnHeader'),