diff --git a/includes/theme.inc b/includes/theme.inc index 806e5ee9f59e4157b3351aec3d56a268dd77a719..d3a3e1d8ea39d0c1c92e75ee9fc1c65ea60cd0b2 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1255,12 +1255,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); }