From 64f9d933a8a73f11ed01f815025a0d0e2c1df042 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 15 Sep 2010 18:46:39 +0000 Subject: Removing unused 'menu_items_hide_toolbar_entries' config value. git-svn-id: http://code.elgg.org/elgg/trunk@6936 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/menu_items.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'actions') diff --git a/actions/admin/menu_items.php b/actions/admin/menu_items.php index 8e502bea2..af38e96e7 100644 --- a/actions/admin/menu_items.php +++ b/actions/admin/menu_items.php @@ -9,7 +9,6 @@ */ $featured_urls = get_input('featured_urls', array()); -$hide_toolbar_entries = get_input('menu_items_hide_toolbar_entries', 'yes'); $custom_item_names = get_input('custom_item_names', array()); $custom_item_urls = get_input('custom_item_urls', array()); @@ -46,9 +45,8 @@ for ($i=0; $i<$custom_count; $i++) { // set_config() always returns 0 so can't check for failures set_config('menu_items_featured_urls', $featured_url_info); -set_config('menu_items_hide_toolbar_entries', $hide_toolbar_entries); set_config('menu_items_custom_items', $custom_items); system_message(elgg_echo('admin:menu_items:saved')); -forward($_SERVER['HTTP_REFERER']); \ No newline at end of file +forward($_SERVER['HTTP_REFERER']); -- cgit v1.2.3