From 0909fb6af3d27c3e6e2b8df7e55c5022bb905425 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 3 Feb 2021 14:42:29 +1300 Subject: [PATCH] Remove defunct reference to skilCleanMoney The BAO used to handle this param but it no longer does. The api does respond to it - but defaults to true (we don't call the api here but anything other than setting it to false will always do nothing) --- 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 0d13063386..0fa3b42564 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1898,7 +1898,6 @@ DESC limit 1"); $contributionParams['contribution_status_id'] = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Pending'); - $contributionParams['skipCleanMoney'] = TRUE; // @todo this is the wrong place for this - it should be done as close to form submission // as possible $contributionParams['total_amount'] = $params['amount']; -- 2.25.1