#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
ce1fa8c112
commit
8765df6593
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue