=== modified file 'includes/menu.inc' --- includes/menu.inc 2006-12-12 06:02:52 +0000 +++ includes/menu.inc 2006-12-23 17:17:08 +0000 @@ -437,10 +437,6 @@ function menu_set_active_item($path = NU } else { $_GET['q'] = $path; - - // If we change ?q= we need to rebuild the contextual menu items - // because they are often variable depending on the value of ?q=. - _menu_append_contextual_items(); } $menu = menu_get_menu(); === modified file 'modules/user/user.module' --- modules/user/user.module 2006-12-19 09:22:22 +0000 +++ modules/user/user.module 2006-12-23 17:17:37 +0000 @@ -784,9 +784,8 @@ function user_menu($may_cache) { drupal_add_css(drupal_get_path('module', 'user') .'/user.css', 'module'); if ($_GET['q'] == 'user' && $user->uid) { // We want to make the current user's profile accessible without knowing - // their uid, so just linking to /user is enough. To achieve this goal, - // we do an internal redirect. - menu_set_active_item('user/'. $user->uid); + // their uid, so just linking to /user is enough. + drupal_goto('user/'. $user->uid); } if (arg(0) == 'user' && is_numeric(arg(1)) && arg(1) > 0) {