Issue #2209817 by sun: Duplicate initialization of maintenance theme registry.

8.0.x
webchick 2014-03-05 08:52:08 -08:00
parent 89379df0d4
commit 77fed27ff4
1 changed files with 0 additions and 1 deletions

View File

@ -91,7 +91,6 @@ function _drupal_maintenance_theme() {
$base_theme[] = $new_base_theme = $themes[$themes[$ancestor]->base_theme];
$ancestor = $themes[$ancestor]->base_theme;
}
_drupal_theme_initialize($themes[$theme], array_reverse($base_theme), '_theme_load_offline_registry');
_drupal_theme_initialize($themes[$theme], array_reverse($base_theme));
// Prime the theme registry.
// @todo Remove global theme variables.