Pass specific ids rather than ids array
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 4 Sep 2023 00:38:51 +0000 (12:38 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 4 Sep 2023 05:00:45 +0000 (17:00 +1200)
commit85fbe0cc749cec94cec06209c707734ab8a03432
tree3253af94b1709c39b55eb898c3011248d2ceb6b2
parent79b8637ffaf4f00ff2dae6234f2134a1c3adaf18
Pass specific ids rather than ids array

It is unclear when we pass ids what ids we care about (& in general how many ids we are using from the
various functions). In fact 2 specific IDs are used (one from the _relatedObjects array) so pass
these in and stop passing in ids. Also stop setting an id that we never use
CRM/Contribute/BAO/Contribution.php
tests/phpunit/CRM/PCP/BAO/PCPTest.php