summaryrefslogtreecommitdiff
path: root/profiles/default
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-03 06:58:52 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-03 06:58:52 +0000
commit9574da507ffca24b9fc6e706928d494a864f46ae (patch)
tree818cc9da244327e2f8c49207cb97b078de1417d4 /profiles/default
parentc5fea4f88a62b02c7d3c78087815b77fc6efcdb3 (diff)
downloadbrdo-9574da507ffca24b9fc6e706928d494a864f46ae.tar.gz
brdo-9574da507ffca24b9fc6e706928d494a864f46ae.tar.bz2
- Patch #656470 by mfer, David_Rothstein: remove fake form alter hook.
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/default.profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/profiles/default/default.profile b/profiles/default/default.profile
index f864b579c..89800f66b 100644
--- a/profiles/default/default.profile
+++ b/profiles/default/default.profile
@@ -4,11 +4,10 @@
/**
* Implements hook_form_alter().
*
- * Allows the profile to alter the site-configuration form. This is
- * called through custom invocation, so $form_state is not populated.
+ * Allows the profile to alter the site configuration form.
*/
function default_form_alter(&$form, $form_state, $form_id) {
- if ($form_id == 'install_configure') {
+ if ($form_id == 'install_configure_form') {
// Set default for site name field.
$form['site_information']['site_name']['#default_value'] = $_SERVER['SERVER_NAME'];
}