Merge pull request #19525 from eileenmcnaughton/member_soft
authorYashodha Chaku <yashodha@cividesk.com>
Mon, 8 Feb 2021 11:13:58 +0000 (16:43 +0530)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 11:13:58 +0000 (16:43 +0530)
[REF] Remove unused pcp & soft credit handling from previously shared code

CRM/Member/Form/Membership.php

index 7be3212c33e191b29cb2be1cb6ff0818cb9463bc..3b0b0b140ede0a05c7146f3c0c7f3a41b4e08b77 100644 (file)
@@ -1895,12 +1895,6 @@ DESC limit 1");
       $form->_contributionID = $contribution->id;
     }
 
-    // process soft credit / pcp params first
-    CRM_Contribute_BAO_ContributionSoft::formatSoftCreditParams($params, $form);
-
-    //CRM-13981, processing honor contact into soft-credit contribution
-    CRM_Contribute_BAO_ContributionSoft::processSoftContribution($params, $contribution);
-
     $transaction->commit();
     return $contribution;
   }