From fc5f56e9c3b788e5e32d25cc5dc5070e548e0716 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 4 Apr 2011 18:25:05 +0200
Subject: [PATCH] - Patch #545518 by bfroehle: committed missing change to
 older patch.

---
 includes/theme.inc | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/includes/theme.inc b/includes/theme.inc
index 806e5ee9f59e..d3a3e1d8ea39 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);
 }
 
-- 
GitLab