summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-11-12 15:40:36 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-11-12 15:40:36 -0800
commit2df4ce263217b00638097d54247f1449a4a4d7c9 (patch)
tree7bba6d5b1dfa5ff3e04906cd166a729f71f8f464 /includes/install.core.inc
parentf9a66fff5fb4d04e8ce1f1edca6027171171025b (diff)
downloadbrdo-2df4ce263217b00638097d54247f1449a4a4d7c9.tar.gz
brdo-2df4ce263217b00638097d54247f1449a4a4d7c9.tar.bz2
Issue #212284 by Damien Tournoud, alexanderpas, dww: Fixed security check in 'configure' stage not compatible with overriding variables: site_name() and site_mail().
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc7
1 files changed, 0 insertions, 7 deletions
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