[REF] Convert previously shared function to non-static, remove unrelated code
authoreileen <emcnaughton@wikimedia.org>
Wed, 23 Dec 2020 01:06:38 +0000 (14:06 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 23 Dec 2020 01:15:27 +0000 (14:15 +1300)
commit2a320359f5076fb78cee9109777ddb41a5fb8b65
tree4f8e99ab15587ee7a2ce064a336705a6b1f10316
parentf0eff438ea96d96e44e831e86f586a38a9768c94
[REF] Convert previously shared function to non-static, remove unrelated code

There is no facility for creating on_behalf on back office membership forms
so this code, copied from the shared function, does not relate.

The activity IS created by Contribution.create - the extra code was
just to hack it around to doing on_behalf

Likewise, the back office membership form does not collect
data on contribution custom fields or notes so removing these
also makes sense here.
CRM/Member/Form/Membership.php