[REF] Change function signature to support moving this off the form layer
authoreileen <emcnaughton@wikimedia.org>
Tue, 3 Mar 2020 19:54:04 +0000 (08:54 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 5 Mar 2020 00:01:09 +0000 (13:01 +1300)
commit1b8bdba5eb1b8c24be2ca408e9eae6ee6716b376
tree6e632a5b2ce97f83881d2bfb8bfb261ee3c5370f
parentb61b4be17b800c09ecaaf6ca676c4e161f7eb025
[REF] Change function signature to support moving this off the form layer

This is really a business logic function & belongs on the BAO. This change simply removes the
access to  such that it can be moved by making it an input parameter.

Next step would be o make it static & move  it to CRM_Member_BAO_Membership

Evenually this should not be called by the form as the CRM_Member_BAO_Membership
::create function will call it
CRM/Contact/Form/Contact.php