aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/menu_items.php4
1 files changed, 1 insertions, 3 deletions
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']);