diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
commit | 96926ca04707d6eda0e96b2ae7eb01efb708c3ec (patch) | |
tree | 1f94ea0b97c411ba1aa1084f040c98c2a7416542 /install.php | |
parent | a8ceb7613b808c1b6643e910f96dc7319012bf67 (diff) | |
download | brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.gz brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.bz2 |
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install.php b/install.php index aa51aabb1..3578a369d 100644 --- a/install.php +++ b/install.php @@ -335,7 +335,7 @@ function install_settings_form($profile, $install_locale, $settings_file, $db_ur /** * Form API validate for install_settings form. */ -function install_settings_form_validate($form_values, $form, &$form_state) { +function install_settings_form_validate($form, &$form_state, $form_values) { global $db_url; _install_settings_form_validate($form_values['db_prefix'], $form_values['db_type'], $form_values['db_user'], $form_values['db_pass'], $form_values['db_host'], $form_values['db_port'], $form_values['db_path'], $form_values['settings_file'], $form_state, $form); } @@ -926,7 +926,7 @@ if (Drupal.jsEnabled) { return $form; } -function install_configure_form_validate($form_values, $form, &$form_state) { +function install_configure_form_validate($form, &$form_state, $form_values) { if ($error = user_validate_name($form_values['account']['name'])) { form_error($form['admin_account']['account']['name'], $error); } @@ -938,7 +938,7 @@ function install_configure_form_validate($form_values, $form, &$form_state) { } } -function install_configure_form_submit($form_values, $form, &$form_state) { +function install_configure_form_submit($form, &$form_state, $form_values) { global $user; variable_set('site_name', $form_values['site_name']); |