summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-22 05:01:39 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-01-22 05:01:39 +0000
commit9e2540eeb2ca9390636ef11ee00c46317c9522c1 (patch)
treefddcca906a3cfbc530c0f4b46739fce9641874e8 /includes
parent3946b191a9ad339030783d44ae4e852e4eff7303 (diff)
downloadbrdo-9e2540eeb2ca9390636ef11ee00c46317c9522c1.tar.gz
brdo-9e2540eeb2ca9390636ef11ee00c46317c9522c1.tar.bz2
#306316 by beeradb: Rebuild the menu from node_types_rebuild() to assist with programmatic node creation.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 66d41bb9c..2ecf25069 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -4042,7 +4042,7 @@ function drupal_flush_all_caches() {
}
drupal_theme_rebuild();
- menu_rebuild();
+ // Rebuild content types, menu will be rebuilt as well.
node_types_rebuild();
// Don't clear cache_form - in-progress form submissions may break.
// Ordered so clearing the page cache will always be the last action.