CaseContact - Switch BAO to standard create function with hook
authorColeman Watts <coleman@civicrm.org>
Mon, 27 Feb 2023 19:28:57 +0000 (14:28 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 27 Feb 2023 22:39:27 +0000 (17:39 -0500)
commiteded26e42d2b7aff3cbab74f103f49b609760d61
tree97c4d39316e8a1d7b80cc75150708044a5122ec5
parent4df6b683d20f0d0584fd6b93c532f69fc21bc5a4
CaseContact - Switch BAO to standard create function with hook

Uses new pattern for create mode, with other processing moved into a hook.
The 'recent items' code now contains an extra guard to prevent undefined variable errors
CRM/Case/BAO/CaseContact.php
CRM/Case/Form/Activity/OpenCase.php
CRM/Case/Page/AJAX.php
Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php
api/v3/Case.php
tests/phpunit/CRM/Case/BAO/CaseTest.php