From f375573849cd38a8c3860ce23bd92cdbc984fdda Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 23 Aug 2010 23:38:06 +0000 Subject: #410646 by dman, David_Rothstein, and thousands of other people: Fixed 'Secondary menu' exists but is no longer the default source for the secondary links. --- includes/menu.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/menu.inc b/includes/menu.inc index 5eb8ff012..f94968943 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -1617,7 +1617,6 @@ function menu_list_system_menus() { 'management' => 'Management', 'user-menu' => 'User menu', 'main-menu' => 'Main menu', - 'secondary-menu' => 'Secondary menu', ); } @@ -2077,7 +2076,7 @@ function menu_set_active_menu_names($menu_names = NULL) { $active = $menu_names; } elseif (!isset($active)) { - $active = variable_get('menu_default_active_menus', array('management', 'navigation', 'user-menu', 'main-menu')); + $active = variable_get('menu_default_active_menus', array_keys(menu_list_system_menus())); } return $active; } -- cgit v1.2.3