dev/core#1845 Change FK on civicrm_group to delete the associated group if a saved...
authorMichael McAndrew <michael@3sd.io>
Thu, 11 Mar 2021 15:38:43 +0000 (15:38 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 23 Mar 2021 07:09:48 +0000 (18:09 +1100)
commitedc2ebcfac7fd745198f317180c67048e7a3a850
tree3d6e1919506a0819046e1425567073c06d12e18f
parent7f892a5eb184dae1f01e71ef5b647d9757eebd7b
dev/core#1845 Change FK on civicrm_group to delete the associated group if a saved search is deleted

Add in delete function on Group BAO to handle deleting associated saved search if appropriate when group is deleted and move upgrade step appropriately

Add unit test and move code to the discard function
CRM/Contact/BAO/Group.php
CRM/Contact/DAO/Group.php
CRM/Upgrade/Incremental/php/FiveThirtySeven.php
CRM/Upgrade/Incremental/php/FiveThirtySix.php
tests/phpunit/api/v3/SavedSearchTest.php
xml/schema/Contact/Group.xml