- Patch #149540 by chx: first user installed as uid = 2 in MySQL 4.1.

6.x
Dries Buytaert 2007-08-30 19:31:28 +00:00
parent d82fe113bc
commit 3ee06d4bad
1 changed files with 1 additions and 0 deletions

View File

@ -970,6 +970,7 @@ function install_configure_form_submit($form, &$form_state) {
$form_state['old_values'] = $form_state['values'];
$form_state['values'] = $form_state['values']['account'];
user_register_submit($form, $form_state);
db_query("INSERT INTO {users} (uid, name, mail) VALUES(%d, '%s', '%s')", 0, '', '');
$form_state['values'] = $form_state['old_values'];
unset($form_state['old_values']);
variable_set('user_email_verification', TRUE);