Stop receiving billingID in createAddress
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 Oct 2023 02:43:50 +0000 (15:43 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 Oct 2023 02:43:50 +0000 (15:43 +1300)
commita00bd784aa9f7a696457236154b1a840f32fabd7
tree6791686d4bc83ea0b2ca16dd6ed6dd3457bc3cdc
parenta220e7dacd0a4ca68553f3719feeed79fcb3eff3
Stop receiving billingID in createAddress

BillingID is determined in the form in one of 2 ways
- calling the function CRM_Core_BAO_LocationType::getBilling();
- hard-coding the number 5

There is no magic whereby it varies depending on the form & it is a source
of many undefined property errors.

I did a broader PR removing it, which stalled, so making this change makes it easier
to remove piecemeal
CRM/Contribute/BAO/Contribution.php