Convert the contact fields cache group to standard cache backend
[civicrm-core.git] / CRM / ACL / BAO / ACL.php
index abf87247bbe8e073e7512bfe08bbc48d0c6be8ff..bc823b97037b03cc0b7b227be7dd0a5e6c6489be 100644 (file)
@@ -688,7 +688,7 @@ SELECT $acl.*
    */
   public static function setIsActive($id, $is_active) {
     // note this also resets any ACL cache
-    CRM_Core_BAO_Cache::deleteGroup('contact fields');
+    Civi::cache('fields')->flush();
 
     return CRM_Core_DAO::setFieldValue('CRM_ACL_DAO_ACL', $id, 'is_active', $is_active);
   }