From 619f1c318e9b08203a90703a632c7a13f6824585 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 23 Dec 2020 15:59:17 +1300 Subject: [PATCH] Remove code to retrieve premium data After a bit of digging I can't see an evidence we ever have premiums on the backoffice membership forms --- CRM/Member/Form/Membership.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 6ae16df52b..667e535d2e 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1901,7 +1901,6 @@ DESC limit 1"); $result, $receiptDate, $recurringContributionID), $contributionParams ); - $contributionParams['non_deductible_amount'] = CRM_Contribute_Form_Contribution_Confirm::getNonDeductibleAmount($params, $financialType, FALSE, $form); $contributionParams['skipCleanMoney'] = TRUE; // @todo this is the wrong place for this - it should be done as close to form submission // as possible -- 2.25.1