X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FInstaller%2FForm%2FSiteSettingsForm.php;h=a0b576edcc66c8883d50db37316b36ec78265a8b;hb=refs%2Fheads%2Fd864;hp=300def99319f9423a314370bbba51eb1dd54b587;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php b/web/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php index 300def993..a0b576edc 100644 --- a/web/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php +++ b/web/core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php @@ -124,7 +124,7 @@ class SiteSettingsForm extends FormBase { $form['settings'][$key]['#states'] = [ 'visible' => [ ':input[name=driver]' => ['value' => $key], - ] + ], ]; } @@ -225,11 +225,6 @@ class SiteSettingsForm extends FormBase { 'value' => Crypt::randomBytesBase64(55), 'required' => TRUE, ]; - // Remember the profile which was used. - $settings['settings']['install_profile'] = (object) [ - 'value' => $install_state['parameters']['profile'], - 'required' => TRUE, - ]; drupal_rewrite_settings($settings);