X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FInvoke.php;h=c11ec176d5e8ecabc792e65dbac893f959cfdbee;hb=e63aff1ca2719cc1ec5c4fcbb24217940cbb265d;hp=05c0780fd597679dcfa61bf6bb3c0376b9974efc;hpb=e9702d732ac72472104480731b9d19dc91635331;p=civicrm-core.git diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 05c0780fd5..c11ec176d5 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -1,9 +1,9 @@ clearModuleList(); + // also cleanup all caches + $config->cleanupCaches($sessionReset || CRM_Utils_Request::retrieve('sessionReset', 'Boolean', CRM_Core_DAO::$_nullObject, FALSE, 0, 'GET')); + CRM_Core_Menu::store(); // also reset navigation CRM_Core_BAO_Navigation::resetNavigation(); - // also cleanup all caches - $config->cleanupCaches($sessionReset || CRM_Utils_Request::retrieve('sessionReset', 'Boolean', CRM_Core_DAO::$_nullObject, FALSE, 0, 'GET')); - // also cleanup module permissions $config->cleanupPermissions();