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 commit 8a23417a43.

(cherry picked from commit cb2fc312c1)
merge-requests/64/head
catch 2020-03-13 14:19:47 +00:00
parent c7ffbce02a
commit 2ee538c275
2 changed files with 0 additions and 15 deletions

View File

@ -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();

View File

@ -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}
*/