From 2df4ce263217b00638097d54247f1449a4a4d7c9 Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 12 Nov 2011 15:40:36 -0800 Subject: Issue #212284 by Damien Tournoud, alexanderpas, dww: Fixed security check in 'configure' stage not compatible with overriding variables: site_name() and site_mail(). --- includes/install.core.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'includes/install.core.inc') diff --git a/includes/install.core.inc b/includes/install.core.inc index 094c9b871..8a590c0c4 100644 --- a/includes/install.core.inc +++ b/includes/install.core.inc @@ -1418,13 +1418,6 @@ function install_import_locales(&$install_state) { * The form API definition for the site configuration form. */ function install_configure_form($form, &$form_state, &$install_state) { - if (variable_get('site_name', FALSE) || variable_get('site_mail', FALSE)) { - // Site already configured: This should never happen, means re-running the - // installer, possibly by an attacker after the 'install_task' variable got - // accidentally blown somewhere. Stop it now. - throw new Exception(install_already_done_error()); - } - drupal_set_title(st('Configure site')); // Warn about settings.php permissions risk -- cgit v1.2.3