From 736829490adaecab8aea6ffe7538f07cd358cc82 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 8 Dec 2008 04:50:56 +0000 Subject: Minor cleanups. --- core/helpers/menus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/helpers') diff --git a/core/helpers/menus.php b/core/helpers/menus.php index 28b34781..9076b3bb 100644 --- a/core/helpers/menus.php +++ b/core/helpers/menus.php @@ -33,10 +33,10 @@ class menus_Core { return $menu; } - static function _get_module_menu_items($module_name, $menu, $theme) { + private static function _get_module_menu_items($module_name, $menu, $theme) { $class = "{$module_name}_menu"; if (method_exists($class, "items")) { - call_user_func_array(array($class, "items"), array(&$menu, $theme)); + call_user_func_array(array($class, "items"), array(&$menu, $theme)); } } } \ No newline at end of file -- cgit v1.2.3