From 02c8592759c5b33d3d94fe6a515f10af4317dd5c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 21 May 2009 21:12:25 +0000 Subject: - Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API. --- includes/theme.maintenance.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/theme.maintenance.inc') diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index d36ad3950..0dba734b5 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -220,10 +220,10 @@ function template_preprocess_maintenance_page(&$variables) { $theme_data = _system_theme_data(); $regions = $theme_data[$theme]->info['regions']; - // Get all region content set with drupal_set_content(). + // Get all region content set with drupal_add_region_content(). foreach (array_keys($regions) as $region) { // Assign region to a region variable. - $region_content = drupal_get_content($region); + $region_content = drupal_get_region_content($region); isset($variables[$region]) ? $variables[$region] .= $region_content : $variables[$region] = $region_content; } -- cgit v1.2.3