diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 774ac3341a02b12ef48d5780b57ed7115eb98af3..ed776bf5511cb2ef7b40bc391c6da57119616822 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -618,12 +618,6 @@ public function discoverServiceProviders() { // 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(); diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php index 56098c03ad62377aad171bd63fd004cf4fd9ef0f..f5fb5dc225e4bcfe058699692acd8c396119e712 100644 --- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php +++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php @@ -54,15 +54,6 @@ protected function prepareEnvironment() { 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} */