#516138 follow-up by Damien Tournoud: Remove expensive menu_rebuild() call from field API.

merge-requests/26/head
Angie Byron 2009-08-23 03:54:47 +00:00
parent 25e0f1617e
commit 041d8ee5a8
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ function field_attach_create_bundle($bundle) {
// Clear the cache.
field_cache_clear();
menu_rebuild();
foreach (module_implements('field_attach_create_bundle') as $module) {
$function = $module . '_field_attach_create_bundle';
$function($bundle);