#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.

merge-requests/26/head
Angie Byron 2009-08-24 01:21:51 +00:00
parent ce1fa8c112
commit 8765df6593
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**