summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-07-14 23:04:46 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-07-14 23:04:46 +0000
commit1c4cc2623e28ad73625cbb3fed49ec37d8e627f1 (patch)
tree132148428b9d80243b1e288418b94f1995bd9b0f /modules
parentf63c3be30c90a34a03c4771609cb78a34ecef6bc (diff)
downloadbrdo-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.module2
-rw-r--r--modules/user/user.module2
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'),