Convert the contact fields cache group to standard cache backend
[civicrm-core.git] / CRM / ACL / Form / ACL.php
index b119f7503aedd1435100bd42ade6a72267597037..b0824e56b2a5a2b73ae4fce008eb092986594660 100644 (file)
@@ -254,7 +254,7 @@ class CRM_ACL_Form_ACL extends CRM_Admin_Form {
    */
   public function postProcess() {
     // note this also resets any ACL cache
-    CRM_Core_BAO_Cache::deleteGroup('contact fields');
+    Civi::cache('fields')->flush();
 
     if ($this->_action & CRM_Core_Action::DELETE) {
       CRM_ACL_BAO_ACL::del($this->_id);