Revert "Issue #3103529 by mcdruid, alexpott, Chris Burge, greg.1.anderson, rfay, anavarre, Gábor Hojtsy: Drupal 8.8.1+ and 9 can fail to install in the web browser due to cache pollution"
This reverts commitmerge-requests/64/head8a23417a43
. (cherry picked from commitcb2fc312c1
)
parent
c7ffbce02a
commit
2ee538c275
|
@ -621,12 +621,6 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
|
|||
// Retrieve enabled modules and register their namespaces.
|
||||
if (!isset($this->moduleList)) {
|
||||
$extensions = $this->getConfigStorage()->read('core.extension');
|
||||
// If core.extension configuration does not exist then the container
|
||||
// cannot be dumped because Drupal is yet to be installed.
|
||||
if ($extensions === FALSE) {
|
||||
$this->allowDumping = FALSE;
|
||||
$this->containerNeedsDumping = FALSE;
|
||||
}
|
||||
$this->moduleList = isset($extensions['module']) ? $extensions['module'] : [];
|
||||
}
|
||||
$module_filenames = $this->getModuleFileNames();
|
||||
|
|
|
@ -54,15 +54,6 @@ class InstallerExistingSettingsTest extends InstallerTestBase {
|
|||
mkdir($this->settings['settings']['config_sync_directory']->value, 0777, TRUE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Visits the interactive installer.
|
||||
*/
|
||||
protected function visitInstaller() {
|
||||
// Should redirect to the installer.
|
||||
$this->drupalGet($GLOBALS['base_url']);
|
||||
$this->assertSession()->addressEquals($GLOBALS['base_url'] . '/core/install.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue