Skip to content
Snippets Groups Projects
Commit a4295b6f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2002722 by neochief: Improve maintainability by removing unused local...

Issue #2002722 by neochief: Improve maintainability by removing unused local variables - core/includes/install.inc.
parent 4f3fbf62
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -617,10 +617,7 @@ function drupal_install_system() {
// Create tables.
drupal_install_schema('system');
if (drupal_container()->has('kernel')) {
$kernel = drupal_container()->get('kernel');
}
else {
if (!drupal_container()->has('kernel')) {
// Immediately boot a kernel to have real services ready.
$kernel = new DrupalKernel('install', FALSE, drupal_classloader(), FALSE);
$kernel->boot();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment