Remove unreachable validation
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 15 May 2023 04:09:45 +0000 (16:09 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 15 May 2023 04:09:45 +0000 (16:09 +1200)
commit281d81edcdb71473e4f3ffa1015dce4ff11ecb58
tree5eaf0262a3920754e61ac716399999fa615f7882
parentac65fe4ad82dbb2ba9ce901f34abd6e8c1a77cdb
Remove unreachable validation

Some time ago we fixed it such that only Pending and Completed statuses are in
the drop box for contribution_status_id. This fragment of code handles an edge case
that is no longer reachable - ie when the value is Failed and some other confusing stuff
is true
CRM/Event/Form/Participant.php