Commit a4295b6f authored by alexpott's avatar alexpott

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
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment