Reduce reliance on multiple specific but confusing class variables
authoreileen <emcnaughton@wikimedia.org>
Tue, 30 Jul 2019 06:35:17 +0000 (18:35 +1200)
committereileen <emcnaughton@wikimedia.org>
Tue, 30 Jul 2019 06:49:41 +0000 (18:49 +1200)
commitec7af55f06f24cec042f5500b5a4da9312bc55c1
tree804127beeff83621db76fa4f63a91697eb4776d0
parent4de71fd481f8978425a170c485ce3c513d17e6e0
Reduce reliance on multiple specific but confusing class variables

https://github.com/civicrm/civicrm-core/pull/14888 seeks to add auto_renew as a parameter on buildMembershipTypeValues
but on digging the results of that are not used much & could be used less.

It's only because we store them far away from where we use them that the relative silliness is kinda
hidden.

This PR removes one of the reliances.

Note that testSubmitRecurCompleteInstant is a good one for stepping through this
CRM/Member/Form/Membership.php