Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.6
-
Fix Version/s: 4.6
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
Description
/var/www/html/prod/drupal-7.27/sites/default/civicrm_custom_php/CRM/Contact/BAO/Contact.php
In deleteContact it calls CRM_Contact_BAO_GroupContactCache::remove();
When this is called with no parameters, all the caches for all the smart groups are updated. This is really inefficient, particularly for organisations like Future First with lots of smart groups. It should just be updating caches for smart groups that this contact is a member of.