CRM-16642 Switch to opportunisticCacheRefresh calls.
[civicrm-core.git] / CRM / Contact / Form / Inline / CustomData.php
index 4570b75cc813e354a3de9a12645c20a11061aa34..a21e5e14971e6a1ff80d6e12af5eafb1d6cded57 100644 (file)
@@ -97,8 +97,7 @@ class CRM_Contact_Form_Inline_CustomData extends CRM_Contact_Form_Inline {
 
     $this->log();
 
-    // reset the group contact cache for this group
-    CRM_Contact_BAO_GroupContactCache::remove();
+    CRM_Contact_BAO_GroupContactCache::opportunisticCacheRefresh();
 
     $this->response();
   }