From c01f85bc37be9de6397d58f735c4f611f0f12256 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 25 Nov 2008 13:16:39 +0000 Subject: - Patch #337820 by Dave Reid: rename menu path logout to user/logout. --- modules/user/user.module | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index cdb912d92..0ee98a979 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -977,6 +977,13 @@ function user_menu() { 'type' => MENU_CALLBACK, ); + $items['user/logout'] = array( + 'title' => 'Log out', + 'access callback' => 'user_is_logged_in', + 'page callback' => 'user_logout', + 'weight' => 10, + ); + // User administration pages. $items['admin/user'] = array( 'title' => 'User management', @@ -1033,13 +1040,6 @@ function user_menu() { 'type' => MENU_CALLBACK, ); - $items['logout'] = array( - 'title' => 'Log out', - 'access callback' => 'user_is_logged_in', - 'page callback' => 'user_logout', - 'weight' => 10, - ); - $items['user/%user_uid_optional'] = array( 'title' => 'My account', 'title callback' => 'user_page_title', -- cgit v1.2.3