[REF] move code into the function
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 21 Dec 2021 20:37:06 +0000 (09:37 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 21 Dec 2021 20:37:06 +0000 (09:37 +1300)
commitc8ce9261d535edc9da100d12b003c8f090554955
tree371c3ca3f4ac7a800ea9938e8a350d97b12c7fba
parente28cb6a2562762b6e678d30ed140a5f63d893e56
[REF] move code into the function

Within the if there is some code & then a function call. There doesn't seem
to be much reason for some of the code to be in the function & some
outside - this simplifies
CRM/Contribute/Form/Contribution/Confirm.php