From 810a6df1448192912dd7b97875d02b0044572e4d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 22 May 2021 11:03:11 +1200 Subject: [PATCH] [REF] Remove unused field parameters --- CRM/Batch/Form/Entry.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index a54c2a825d..01f754355b 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -714,17 +714,6 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { unset($value['membership_status']); } - if (empty($customFields)) { - // membership type custom data - $customFields = CRM_Core_BAO_CustomField::getFields('Membership', FALSE, FALSE, $membershipTypeId); - - $customFields = CRM_Utils_Array::crmArrayMerge($customFields, - CRM_Core_BAO_CustomField::getFields('Membership', - FALSE, FALSE, NULL, NULL, TRUE - ) - ); - } - //check for custom data $value['custom'] = CRM_Core_BAO_CustomField::postProcess($params['field'][$key], $key, -- 2.25.1