- Patch #88474 by webernet: fixed incorrect commit.

5.x
Dries Buytaert 2006-10-26 04:16:34 +00:00
parent 6675dbc68c
commit 13232aba97
1 changed files with 0 additions and 2 deletions

View File

@ -700,8 +700,6 @@ function user_menu($may_cache) {
$items[] = array('path' => 'user/login', 'title' => t('log in'),
'callback' => 'drupal_get_form', 'callback arguments' => array('user_login'),
'access' => !$user->uid, 'type' => MENU_DEFAULT_LOCAL_TASK);
$items[] = array('path' => 'user/login', 'title' => t('Log in'),
'callback' => 'drupal_get_form', 'callback arguments' => array('user_login'), 'access' => TRUE, 'type' => MENU_DEFAULT_LOCAL_TASK);
$items[] = array('path' => 'user/register', 'title' => t('Create new account'),
'callback' => 'drupal_get_form', 'callback arguments' => array('user_register'), 'access' => !$user->uid && variable_get('user_register', 1), 'type' => MENU_LOCAL_TASK);
$items[] = array('path' => 'user/password', 'title' => t('Request new password'),