Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
041d8ee5
Commit
041d8ee5
authored
Aug 23, 2009
by
webchick
Browse files
#516138
follow-up by Damien Tournoud: Remove expensive menu_rebuild() call from field API.
parent
25e0f161
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/field/field.attach.inc
View file @
041d8ee5
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment