diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7195e985e..1123b1c9a 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -6727,8 +6727,10 @@ function drupal_flush_all_caches() { system_rebuild_theme_data(); drupal_theme_rebuild(); - menu_rebuild(); node_types_rebuild(); + // node_menu() defines menu items based on node types so it needs to come + // after node types are rebuilt. + menu_rebuild(); // Synchronize to catch any actions that were added or removed. actions_synchronize(); |