[REF] Interim code cleanup - make the usage of addPayments clearer
authoreileen <emcnaughton@wikimedia.org>
Fri, 31 Jan 2020 07:55:16 +0000 (20:55 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 31 Jan 2020 10:14:46 +0000 (23:14 +1300)
commit0623f992262f74542a207c76b7e5490156b090ef
treec9758eda8a9d7dae5b770b5aeb60ca110d57b250
parent423af74b62d620eed380cce123c34418d0c295ed
[REF] Interim code cleanup - make the usage of addPayments clearer

This brings the condition back to the calling function which clarifies what is going on with it
CRM/Contribute/BAO/Contribution.php
CRM/Core/BAO/CustomField.php
CRM/Event/Form/Participant.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php