summaryrefslogtreecommitdiff
path: root/includes/theme.maintenance.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-22 12:46:21 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-22 12:46:21 +0000
commitb0894ceaa74c01444856910fd87dfc992542eb85 (patch)
tree5dbbd695351e7344279e27b32454beede85b53e2 /includes/theme.maintenance.inc
parentee691c593adfaf4c8046cf6ee2bc9796a28a1448 (diff)
downloadbrdo-b0894ceaa74c01444856910fd87dfc992542eb85.tar.gz
brdo-b0894ceaa74c01444856910fd87dfc992542eb85.tar.bz2
- Patch #812016 by effulgentsia, chx, redndahead, Damien Tournoud: themes cannot always participate in drupal_alter().
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);
}
/**