Decommision getPartialPaymentTrxn function
authoreileen <emcnaughton@wikimedia.org>
Thu, 28 Feb 2019 02:33:19 +0000 (15:33 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 28 Feb 2019 02:33:19 +0000 (15:33 +1300)
commit74e4c3c202054569193151c4efbe2be50bad6d24
treee7a29f0c938d01c818b38301d7e4fe5f500409d2
parentb0d49861e2ff6660517bbe4861b80784170219e4
Decommision getPartialPaymentTrxn function

This function is only called from one place in the code & also from a test.

It is misleading as it implies a 'get' when it actually does an update
and it groups functionality in a way that doesn't make sense from the calling code pov

In this commit the function is removed and the lines are directly copied to the calling
function, as preparation for cleaning up the calling function
CRM/Core/BAO/FinancialTrxn.php
CRM/Financial/BAO/Payment.php
tests/phpunit/CRM/Core/BAO/FinancialTrxnTest.php