summaryrefslogtreecommitdiff
path: root/core/helpers/menus.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-08 04:50:56 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-08 04:50:56 +0000
commit736829490adaecab8aea6ffe7538f07cd358cc82 (patch)
tree98ee3ad34f75e87f22bbf160e5d2bf0bb06b4e3a /core/helpers/menus.php
parent528a48a96e0dcdcb974882f2d27c7d38aac283fe (diff)
Minor cleanups.
Diffstat (limited to 'core/helpers/menus.php')
-rw-r--r--core/helpers/menus.php4
1 files changed, 2 insertions, 2 deletions
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