X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FInvoke.php;h=7df01124bf0a3212513e0fbf6eb3fd182b3e980b;hb=4a05187c4ebd6b2b7c0ee8afc8dc105abaed43b6;hp=516845ff4c8878b5ad1a44240e8125050d455c19;hpb=39bf89ed849c129d7524fdb6a40c1d23bd4622dc;p=civicrm-core.git diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 516845ff4c..7df01124bf 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -483,14 +483,14 @@ class CRM_Core_Invoke { $config = CRM_Core_Config::singleton(); $config->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(); @@ -507,7 +507,7 @@ class CRM_Core_Invoke { ) { CRM_Core_DAO::triggerRebuild(); } - + CRM_Core_DAO_AllCoreTables::reinitializeCache(TRUE); CRM_Core_ManagedEntities::singleton(TRUE)->reconcile(); } }