Remove defunct reference to skilCleanMoney
authoreileen <emcnaughton@wikimedia.org>
Wed, 3 Feb 2021 01:42:29 +0000 (14:42 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 3 Feb 2021 01:42:29 +0000 (14:42 +1300)
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

index 0d1306338629b2808cab7ccb72a19be88307b199..0fa3b42564d000943a9834e0d49c39f6c8805c0a 100644 (file)
@@ -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'];