Remove unused parameters from cancel
authoreileen <emcnaughton@wikimedia.org>
Thu, 19 Nov 2020 21:37:16 +0000 (10:37 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 19 Nov 2020 21:39:05 +0000 (10:39 +1300)
commit154407b3f93d12f5c064dac97309be4eacc81cd4
treedf641898d795e1809b31cf1bf29fab996b7e5f06
parentea73acae098da41f39f76114c0df857ae56db721
Remove unused parameters from cancel

cancel as a protected function is only called from one place and the processContribution value is always false.
This means that the returned processContribution value is always false - so we don't need to return
it as it is set to false already. In addition the currently returned updateResult is no longer
used so we don't need to return that either.

I will do the same changes in a separate PR for processFail
CRM/Contribute/BAO/Contribution.php