aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-15 18:46:39 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-15 18:46:39 +0000
commit64f9d933a8a73f11ed01f815025a0d0e2c1df042 (patch)
tree98f65f289c69c09a74e1a2d701f937ac3ff35aa7 /actions
parent9ae8d4cdc954f0120875f94fb68211106e38544a (diff)
downloadelgg-64f9d933a8a73f11ed01f815025a0d0e2c1df042.tar.gz
elgg-64f9d933a8a73f11ed01f815025a0d0e2c1df042.tar.bz2
Removing unused 'menu_items_hide_toolbar_entries' config value.
git-svn-id: http://code.elgg.org/elgg/trunk@6936 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-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']);