[REF] Simplify a couple of variables
authoreileen <emcnaughton@wikimedia.org>
Mon, 22 Mar 2021 02:41:55 +0000 (15:41 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 22 Mar 2021 02:41:55 +0000 (15:41 +1300)
commiteb5a5dac7a403530456d0e07dce287291a6ca093
tree729d61fc4a347ee8af78bba62e8bbda89fe350f0
parent07678e0dadb692f0cb949f580b712cbc28952046
[REF] Simplify a couple of variables

Rather than rely on these being passed around retrieve them with
a consistent function.

Note tax_amount is retrieved one other place but that is fixed in
https://github.com/civicrm/civicrm-core/pull/19757

Line item will be used less once
https://github.com/civicrm/civicrm-core/pull/19801 is merged
CRM/Member/Form/Membership.php