diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-13 18:45:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-13 18:45:04 +0000 |
commit | 3257ebf6606c4ab7c56acb012be95075eb67fbda (patch) | |
tree | ba7d8fbce3c740fc00fa86c799be902d61cd1637 | |
parent | 16dc866bbaeb910693cc0711680cac6faf6913e7 (diff) | |
download | brdo-3257ebf6606c4ab7c56acb012be95075eb67fbda.tar.gz brdo-3257ebf6606c4ab7c56acb012be95075eb67fbda.tar.bz2 |
- Patch #603436 by chx: small clean-up in export profile.
-rw-r--r-- | profiles/expert/expert.profile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/profiles/expert/expert.profile b/profiles/expert/expert.profile index 91188f00c..45573d8da 100644 --- a/profiles/expert/expert.profile +++ b/profiles/expert/expert.profile @@ -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']; } |