From 5b51cc20495b535dd0788d70ae64dd8128ca132d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 17 Aug 2022 08:40:16 +1200 Subject: [PATCH] Remove getSubTypes --- CRM/Import/Parser.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 47e33d249d..0c867dc804 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -1840,24 +1840,6 @@ abstract class CRM_Import_Parser implements UserJobInterface { return TRUE; } - /** - * get subtypes given the contact type - * - * @param string $contactType - * @return array $subTypes - */ - protected function getSubtypes($contactType) { - $subTypes = []; - $types = CRM_Contact_BAO_ContactType::subTypeInfo($contactType); - - if (count($types) > 0) { - foreach ($types as $type) { - $subTypes[] = $type['name']; - } - } - return $subTypes; - } - /** * Update the status of the import row to reflect the processing outcome. * -- 2.25.1