Commit 3257ebf6 authored by Dries's avatar Dries
Browse files

- Patch #603436 by chx: small clean-up in export profile.

parent 16dc866b
......@@ -7,9 +7,6 @@
* Allows the profile to alter the site-configuration form. This is
* called through custom invocation, so $form_state is not populated.
*/
function expert_form_alter(&$form, $form_state, $form_id) {
if ($form_id == 'install_configure') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
function expert_form_install_configure_form_alter(&$form) {
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}
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