Commit 8765df65 authored by webchick's avatar webchick

#516138 follow-up by yched: Instead of a full menu rebuild, set a variable...

#516138 follow-up by yched: Instead of a full menu rebuild, set a variable indicating it's needed. Speeds up tests by a factor of at least two.
parent ce1fa8c1
......@@ -271,7 +271,7 @@ function field_ui_update_field($field) {
function field_ui_field_attach_create_bundle($bundle) {
// When a new bundle is created, the menu needs to be rebuilt to add our
// menu item tabs.
menu_rebuild();
variable_set('menu_rebuild_needed', TRUE);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment