Use supports noReturn instead of contributeMode check
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 7 Nov 2023 22:51:44 +0000 (11:51 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Nov 2023 20:08:31 +0000 (09:08 +1300)
commit36723fe908973f72dc5cd57a249ee236fcfec868
treed1537dbea2b581c84afed8fa160db9a2075a66da
parent8c80ef4401777167c402fd225625fe8aa1e1cb4c
Use supports noReturn instead of contributeMode check

In some cases actions are taken on notify contributions because they won't return -
ie call hooks or send emails.

In all cases but 1 paypal express is treated the same as notify - I think this last case is oversight
not design.
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Core/Payment.php
CRM/Event/Form/Registration.php
CRM/Event/Form/Registration/Confirm.php