Skip to content
Snippets Groups Projects
Commit 3ccf4ddf authored by Angie Byron's avatar Angie Byron
Browse files

#843278 by David_Rothstein: Fixed Menu system static caches are no longer...

#843278 by David_Rothstein: Fixed Menu system static caches are no longer completely cleared (causes shortcuts to not be added correctly in the overlay).
parent 790da7b3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -2281,6 +2281,7 @@ function menu_cache_clear_all() {
* Resets the menu system static cache.
*/
function menu_reset_static_cache() {
drupal_static_reset('_menu_build_tree');
drupal_static_reset('menu_tree');
drupal_static_reset('menu_tree_all_data');
drupal_static_reset('menu_tree_page_data');
......
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