summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 38c7c13f4..ef6dcdbe5 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -601,6 +601,8 @@ function user_menu($may_cache) {
'callback' => 'user_page', 'access' => $user->uid == 0 && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'user/password', 'title' => t('request new password'),
'callback' => 'user_page', 'access' => $user->uid == 0, 'type' => MENU_LOCAL_TASK);
+ $items[] = array('path' => 'user/help', 'title' => t('help'),
+ 'callback' => 'user_help_page', 'type' => MENU_CALLBACK);
$items[] = array('path' => 'admin/user', 'title' => t('users'),
'callback' => 'user_admin', 'access' => $access);
@@ -1634,10 +1636,10 @@ function user_help($section) {
}
/**
- * Menu callback; Prints user-specific information from admin/help.
+ * Menu callback; Prints user-specific help information.
*/
function user_help_page() {
- print theme('page', user_help('admin/help#user'));
+ print theme('page', user_help('user/help#user'));
}
/**