diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-07-14 23:04:46 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-07-14 23:04:46 +0000 |
commit | 1c4cc2623e28ad73625cbb3fed49ec37d8e627f1 (patch) | |
tree | 132148428b9d80243b1e288418b94f1995bd9b0f /modules | |
parent | f63c3be30c90a34a03c4771609cb78a34ecef6bc (diff) | |
download | brdo-1c4cc2623e28ad73625cbb3fed49ec37d8e627f1.tar.gz brdo-1c4cc2623e28ad73625cbb3fed49ec37d8e627f1.tar.bz2 |
Removed the 'user' item in the menu which appeared when editing someone else's account.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module index e589869f2..539fab30a 100644 --- a/modules/user.module +++ b/modules/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'), 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'), |