[REF] Remove unused pcp & soft credit handling from previously shared code
authoreileen <emcnaughton@wikimedia.org>
Thu, 4 Feb 2021 03:31:46 +0000 (16:31 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 4 Feb 2021 03:31:46 +0000 (16:31 +1300)
commitba1a32a0a7e6dd67666ca7e552515c36f949b784
tree7e15a0e7fc3707d5907bcb60b272005204ec1fc5
parente7b50ec398496d4780c06c4b795461d9fc959ab3
[REF] Remove unused pcp & soft credit handling from previously shared code

the ProcessContribution function has been split out from a shared function used by front end forms
and I'm pretty sure it was only relevant for those other forms. The only code that calls this function
is when a payment processor is used in recurring mode to pay for a membership.

I tested doing this and selected 'record payment from a different contact' without these
lines & it created the soft credit (using the code elsewhere in the function that
would be used if it were not recurring or not credit card payment)
CRM/Member/Form/Membership.php