* @method static array synchronizeUsers() Create CRM contacts for all existing CMS users.
* @method static appendCoreResources(\Civi\Core\Event\GenericHookEvent $e) Callback for hook_civicrm_coreResourceList.
* @method static alterAssetUrl(\Civi\Core\Event\GenericHookEvent $e) Callback for hook_civicrm_getAssetUrl.
- * @method static sendResponse(\Psr\Http\Message\ResponseInterface $response) function to handle RepsoseInterface for delivering HTTP Responses.
*/
class CRM_Utils_System {
Civi::cache('groups')->flush();
Civi::cache('navigation')->flush();
Civi::cache('customData')->flush();
+ Civi::cache('contactTypes')->clear();
+ Civi::cache('metadata')->clear();
CRM_Extension_System::singleton()->getCache()->flush();
CRM_Cxn_CiviCxnHttp::singleton()->getCache()->flush();
}
// also reset the various static memory caches
// reset the memory or array cache
- CRM_Core_BAO_Cache::deleteGroup('contact fields', NULL, FALSE);
+ Civi::cache('fields')->flush();
// reset ACL cache
CRM_ACL_BAO_Cache::resetCache();