From 13c32bab15ecead0c9bc71f323496a44f8cd303d Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Thu, 29 Jun 2006 20:40:26 +0000
Subject: [PATCH] - Patch #71454 by moshe: removed redundant module_invoke. 
 Committing from the Google campus.

---
 includes/theme.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/theme.inc b/includes/theme.inc
index 4c9e26d88e8e..ab311ce08cd2 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -916,7 +916,7 @@ function theme_closure($main = 0) {
 function theme_blocks($region) {
   $output = '';
 
-  if ($list = module_invoke('block', 'list', $region)) {
+  if ($list = block_list($region)) {
     foreach ($list as $key => $block) {
       // $key == <i>module</i>_<i>delta</i>
       $output .= theme('block', $block);
-- 
GitLab