[REF] Remove support for not-passed 'pledge' value
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 22 Oct 2021 22:27:33 +0000 (11:27 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 22 Oct 2021 22:31:06 +0000 (11:31 +1300)
commit635aec5844a1bb5ccf177340386890cf7527e54b
tree822c2e3c34e96f774f0848eb94ab38632bef677b
parent38aaee5a997718141122d6bc1dc1702d06a54208
[REF] Remove support for not-passed 'pledge' value

On grepping 'pledge' is never passed to this function (it has had it's own option value for a long time)
so this removes the handling for if it is passed. Also, some simplification
CRM/Contribute/BAO/Contribution/Utils.php