diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/theme.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 98119dfc3..573bbe2e4 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1269,12 +1269,7 @@ function theme_enable($theme_list) { menu_rebuild(); drupal_theme_rebuild(); - // Notify locale module about new themes being enabled, so translations can - // be imported. This might start a batch, and only return to the redirect - // path after that. - module_invoke('locale', 'system_update', $theme_list); - - // Invoke hook_themes_enabled after the themes have been enabled. + // Invoke hook_themes_enabled() after the themes have been enabled. module_invoke_all('themes_enabled', $theme_list); } |