Skip to content
Snippets Groups Projects
Unverified Commit b9fd3af0 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #23824 from totten/mixin-refresh

(#3660) Ensure that rebuildMenuAndCaches has current mixins+classloaders
parents 3ecfe7f9 c24dd7db
No related branches found
No related tags found
No related merge requests found
......@@ -379,6 +379,10 @@ class CRM_Core_Invoke {
$config = CRM_Core_Config::singleton();
$config->clearModuleList();
// dev/core#3660 - Activate any new classloaders/mixins/etc before re-hydrating any data-structures.
CRM_Extension_System::singleton()->getClassLoader()->refresh();
CRM_Extension_System::singleton()->getMixinLoader()->run(TRUE);
// also cleanup all caches
$config->cleanupCaches($sessionReset || CRM_Utils_Request::retrieve('sessionReset', 'Boolean', CRM_Core_DAO::$_nullObject, FALSE, 0, 'GET'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment