Remove cached smart group entries when removing from a group
authoreileen <emcnaughton@wikimedia.org>
Thu, 27 Jun 2019 13:23:43 +0000 (01:23 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 28 Jun 2019 00:36:11 +0000 (12:36 +1200)
commitc82bcfd1a336cf34c3b0eebc92c970b2aa3fb67f
tree55610b70adc36f1ee5bfcfab548ecff7bd9fff9e
parent6e18e88a6a945d57ab0209448c525f029fc3c5d5
Remove cached smart group entries when removing from a group

In 5.15 we have added fixes for smart groups regarding removed entries. Possibly related to this but also possibly pre-existing
I'm seeing contacts who have been removed from smart groups showing up after removal in search results for the duration of the smart group cache.

Regardless the fix feels safe, sensible and correct so I'm comfortable targetting the rc without further research as to whether it
is a regression. The fix being removal of the cache entry when the group entry is removed.
CRM/Contact/BAO/GroupContact.php