Skip to content

Commit

Permalink
CPS-484: Rebuild Menu after clearing db cache for settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
tunbola committed Mar 18, 2021
1 parent 9b09ced commit c7fbf20
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CRM/Admin/Form/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function commonProcess(&$params) {
Civi::cache('session')->clear();
CRM_Utils_System::flushCache();
CRM_Core_Resources::singleton()->resetCacheCode();
$this->rebuildMenu();

CRM_Core_Session::setStatus(" ", ts('Changes Saved'), "success");
}
Expand Down
2 changes: 0 additions & 2 deletions CRM/Admin/Form/Setting/Path.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public function buildQuickForm() {

public function postProcess() {
parent::postProcess();

parent::rebuildMenu();
}

}
2 changes: 0 additions & 2 deletions CRM/Admin/Form/Setting/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ public function postProcess() {
$session->getStatus(TRUE);

parent::postProcess();

parent::rebuildMenu();
}

}

0 comments on commit c7fbf20

Please sign in to comment.