Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Installer / Form / SiteSettingsForm.php
index 300def99319f9423a314370bbba51eb1dd54b587..a0b576edcc66c8883d50db37316b36ec78265a8b 100644 (file)
@@ -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);