From 3d1ea2904d982422ce24c43b25d0d4bca6f29aa3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 18 Jan 2009 05:01:00 +0000 Subject: Rename theme callback helpers from xxx_block to xxx_theme to make room for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard. --- core/libraries/Theme_View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/libraries/Theme_View.php') diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 38e8e056..1f8ca559 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -165,7 +165,7 @@ class Theme_View_Core extends View { case "photo_bottom": $blocks = array(); foreach (module::installed() as $module) { - $helper_class = "{$module->name}_block"; + $helper_class = "{$module->name}_theme"; if (method_exists($helper_class, $function)) { $blocks[] = call_user_func_array( array($helper_class, $function), -- cgit v1.2.3