From fbd9663207ce1fa43950741654e0b0a65a899416 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 14 Apr 2011 21:55:39 -0400 Subject: - Patch #545518 by bfroehle: move Locale module specific code out of module.inc and system.module. --- includes/theme.inc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'includes/theme.inc') 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); } -- cgit v1.2.3