summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-06 07:27:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-07-06 07:27:07 +0000
commit3ccf4ddf8864972976ca50055dbdd7722dacd0c1 (patch)
tree3bb2a1b634ae5cac32fcc61dca3a822f53d87600 /includes/menu.inc
parent790da7b3cc0b188378c1a5efa4cb202a3974ca9a (diff)
downloadbrdo-3ccf4ddf8864972976ca50055dbdd7722dacd0c1.tar.gz
brdo-3ccf4ddf8864972976ca50055dbdd7722dacd0c1.tar.bz2
#843278 by David_Rothstein: Fixed Menu system static caches are no longer completely cleared (causes shortcuts to not be added correctly in the overlay).
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 40f98fe29..77719a33e 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -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');