From 1c4cc2623e28ad73625cbb3fed49ec37d8e627f1 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Wed, 14 Jul 2004 23:04:46 +0000 Subject: Removed the 'user' item in the menu which appeared when editing someone else's account. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index e589869f2..539fab30a 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -604,7 +604,7 @@ function user_menu() { if (arg(0) == 'user' && is_numeric(arg(1))) { $items[] = array('path' => 'user/'. arg(1), 'title' => t('user'), - 'callback' => 'user_page', 'access' => TRUE); + 'type' => MENU_CALLBACK, 'callback' => 'user_page', 'access' => TRUE); $items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'), 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'user/'. arg(1) .'/edit', 'title' => t('edit'), -- cgit v1.2.3