From 3e089a383bc41532fab9f2a528a23586b62a7f9f Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Thu, 5 Dec 2013 21:11:31 -0500 Subject: [PATCH] CRM-13909 also rebuild word replacement when clearing cache --- CRM/Admin/Form/Setting/UpdateConfigBackend.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Admin/Form/Setting/UpdateConfigBackend.php b/CRM/Admin/Form/Setting/UpdateConfigBackend.php index 65204d20e7..e63d4b0fe4 100644 --- a/CRM/Admin/Form/Setting/UpdateConfigBackend.php +++ b/CRM/Admin/Form/Setting/UpdateConfigBackend.php @@ -115,6 +115,8 @@ class CRM_Admin_Form_Setting_UpdateConfigBackend extends CRM_Admin_Form_Setting CRM_Core_Config::clearDBCache(); parent::rebuildMenu(); + CRM_Core_BAO_WordReplacement::rebuild(); + CRM_Core_Session::setStatus(ts('Cache has been cleared and menu has been rebuilt successfully.'), ts("Success"), "success"); return CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/admin/setting/updateConfigBackend', 'reset=1')); } -- 2.25.1