Split shared function with mostly unshared code
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 12 Oct 2023 21:11:14 +0000 (10:11 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 13 Oct 2023 00:52:10 +0000 (13:52 +1300)
commit908b774880219169ea56f9f2b6a6143861d26394
treeebc0416a8be4585cd237e6d84b9f2334ddf14cec
parent98be66a6ff2fbe16b86e16e9ed2c26b032859a63
Split shared function with mostly unshared code

Almost all the code in this function is specific to the online form - we don't gain
much by sharing but it is harder to make changes because of
having to check the impact of each change on both forms.

Note both forms have test cover over this
CRM/Contribute/Form/Contribution.php
CRM/Contribute/Form/Contribution/Main.php
CRM/Price/BAO/PriceSet.php