aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/admin/menu
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 03:05:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 03:05:45 +0000
commite0ef12b0954d085fa0620e2414ceb24e88121c12 (patch)
tree399d78e796a4dc79535322e0d66e3c3e2e62b4fa /views/default/forms/admin/menu
parent2dd0ecb8e13c48da7872a650d03a3aa006838aa9 (diff)
downloadelgg-e0ef12b0954d085fa0620e2414ceb24e88121c12.tar.gz
elgg-e0ef12b0954d085fa0620e2414ceb24e88121c12.tar.bz2
Fixes #2428 last of the $CONFIG removals. Anything missed can be individual tickets
git-svn-id: http://code.elgg.org/elgg/trunk@8305 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/admin/menu')
-rw-r--r--views/default/forms/admin/menu/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/forms/admin/menu/save.php b/views/default/forms/admin/menu/save.php
index 2cafaa89b..c55ff3367 100644
--- a/views/default/forms/admin/menu/save.php
+++ b/views/default/forms/admin/menu/save.php
@@ -4,8 +4,8 @@
*/
// get site menu items
-global $CONFIG;
-$menu = $CONFIG->menus['site'];
+$menu = elgg_get_config('menus');
+$menu = $menu['site'];
$builder = new ElggMenuBuilder($menu);
$menu = $builder->getMenu('name');
$menu_items = $menu['default'];