Commit 3ee06d4b authored by Dries's avatar Dries

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

parent d82fe113
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment