Move pcpNotifyOwner to ContributionSoft
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 7 Jun 2021 03:35:44 +0000 (15:35 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 7 Jun 2021 05:29:22 +0000 (17:29 +1200)
commit7b2383efad72f6d0bae5ce708d647e652de6ada9
treec06d498f20490679fdb8dbe71f08b19125bb604e
parent7b0d82d12d694a9717010a05a691f9a521f844b1
Move pcpNotifyOwner to ContributionSoft

This is cleanup towards https://github.com/civicrm/civicrm-core/pull/19096 in that
it gets the function out of the form layer and also makes it so it does
not require a BAO. This does add one extra db lookup in some cases but I think
it's pretty low volume and will mean this is not required

https://github.com/civicrm/civicrm-core/pull/19096/files#diff-4c9d0b1abe07057a4eea2b47bc627eecb95face8ed8d86c1c005312a52cca811R4271-R4273
CRM/Contribute/BAO/ContributionSoft.php
CRM/Contribute/Form/Contribution/Confirm.php