Commit 77fed27f authored by webchick's avatar webchick

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

parent 89379df0
...@@ -91,7 +91,6 @@ function _drupal_maintenance_theme() { ...@@ -91,7 +91,6 @@ function _drupal_maintenance_theme() {
$base_theme[] = $new_base_theme = $themes[$themes[$ancestor]->base_theme]; $base_theme[] = $new_base_theme = $themes[$themes[$ancestor]->base_theme];
$ancestor = $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)); _drupal_theme_initialize($themes[$theme], array_reverse($base_theme));
// Prime the theme registry. // Prime the theme registry.
// @todo Remove global theme variables. // @todo Remove global theme variables.
......
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