summaryrefslogtreecommitdiff
path: root/includes/theme.maintenance.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r--includes/theme.maintenance.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc
index 927499a8f..419d300f1 100644
--- a/includes/theme.maintenance.inc
+++ b/includes/theme.maintenance.inc
@@ -88,8 +88,7 @@ function _drupal_maintenance_theme() {
* This builds the registry when the site needs to bypass any database calls.
*/
function _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine = NULL) {
- $registry = _theme_build_registry($theme, $base_theme, $theme_engine);
- _theme_set_registry($registry);
+ return _theme_build_registry($theme, $base_theme, $theme_engine);
}
/**