Stop sharing EventFee::preProcess from Registration form
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 22 Sep 2023 21:32:25 +0000 (09:32 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 28 Sep 2023 20:25:12 +0000 (09:25 +1300)
commited90204fdd852073c9edc4b5cbd2a9cdbc2377de
tree778201294366e34fef7cacd589ec9d230cb031b1
parent99086bf34454e3e83e0f95150a774f2803a2d452
Stop sharing EventFee::preProcess from Registration form

Most of what this function does is silly. In particular it
sets the undeclared & not relevant _fromEmails property.

This also adds our standardised  function to
the online event forms. All event-related forms should wind up
with this public supported function (along with an approprite
mix of getParticipantID, getPriceSetID, getDiscountID

Fix undefined property on fromEmails for Participant fee
CRM/Event/Form/Registration/Register.php