From b0894ceaa74c01444856910fd87dfc992542eb85 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Aug 2010 12:46:21 +0000 Subject: - Patch #812016 by effulgentsia, chx, redndahead, Damien Tournoud: themes cannot always participate in drupal_alter(). --- includes/theme.maintenance.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes/theme.maintenance.inc') 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); } /** -- cgit v1.2.3