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

#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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
/**
......
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