From 84797d053c81e2fb8bc2accdbc41225a1faab33a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 1 Jun 2022 14:46:25 +1200 Subject: [PATCH] Remove no-longer-used function --- CRM/Contact/Import/Parser/Contact.php | 29 --------------------------- 1 file changed, 29 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 536522f8ce..1b1abcc5ba 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -1536,35 +1536,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { return $extIDMatch; } - /** - * Format the form mapping parameters ready for the parser. - * - * @param int $count - * Number of rows. - * - * @return array $parserParameters - */ - public static function getParameterForParser($count) { - $baseArray = []; - for ($i = 0; $i < $count; $i++) { - $baseArray[$i] = NULL; - } - $parserParameters['mapperLocType'] = $baseArray; - $parserParameters['mapperPhoneType'] = $baseArray; - $parserParameters['mapperImProvider'] = $baseArray; - $parserParameters['mapperWebsiteType'] = $baseArray; - $parserParameters['mapperRelated'] = $baseArray; - $parserParameters['relatedContactType'] = $baseArray; - $parserParameters['relatedContactDetails'] = $baseArray; - $parserParameters['relatedContactLocType'] = $baseArray; - $parserParameters['relatedContactPhoneType'] = $baseArray; - $parserParameters['relatedContactImProvider'] = $baseArray; - $parserParameters['relatedContactWebsiteType'] = $baseArray; - - return $parserParameters; - - } - /** * Set field metadata. */ -- 2.25.1