diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-04-14 21:55:39 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-04-14 21:55:39 -0400 |
commit | fbd9663207ce1fa43950741654e0b0a65a899416 (patch) | |
tree | 2a72986cd2ca9d7696d9a15a0ea187bf0f204147 /includes/theme.inc | |
parent | 8cdf750e0e431979dcea0009eb743959381c35d0 (diff) | |
download | brdo-fbd9663207ce1fa43950741654e0b0a65a899416.tar.gz brdo-fbd9663207ce1fa43950741654e0b0a65a899416.tar.bz2 |
- Patch #545518 by bfroehle: move Locale module specific code out of module.inc and system.module.
Diffstat (limited to 'includes/theme.inc')
-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); } |