From b6e952182121d386d9e8a9a65fd039b4696efb8e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 10 Aug 2022 14:50:29 +1200 Subject: [PATCH] Remove another now-unused class --- CRM/Contact/Import/ImportJob.php | 80 --------------------------- CRM/Contact/Import/Parser/Contact.php | 10 ---- 2 files changed, 90 deletions(-) delete mode 100644 CRM/Contact/Import/ImportJob.php diff --git a/CRM/Contact/Import/ImportJob.php b/CRM/Contact/Import/ImportJob.php deleted file mode 100644 index a61ec18990..0000000000 --- a/CRM/Contact/Import/ImportJob.php +++ /dev/null @@ -1,80 +0,0 @@ -_parser->isComplete(); - } - - /** - * @param array $params - */ - public function setJobParams(&$params) { - foreach ($params as $param => $value) { - $fldName = "_$param"; - $this->$fldName = $value; - } - } - - /** - * @param CRM_Core_Form $form - * @param int $timeout - */ - public function runImport(&$form, $timeout = 55) { - $mapper = $this->_mapper; - foreach ($mapper as $key => $value) { - $this->_mapperKeys[$key] = $mapper[$key][0] ?? NULL; - } - - } - - /** - * @param $form - */ - public function setFormVariables($form) { - $this->_parser->set($form, CRM_Import_Parser::MODE_IMPORT); - } - -} diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 3d4dbd616f..f730233c12 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -1125,16 +1125,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { } } - /** - * Store parser values. - * - * @param CRM_Core_Session $store - * - * @param int $mode - */ - public function set($store, $mode = self::MODE_SUMMARY) { - } - /** * Format contact parameters. * -- 2.25.1