summaryrefslogtreecommitdiff
path: root/includes/theme.maintenance.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-21 21:12:25 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-21 21:12:25 +0000
commit02c8592759c5b33d3d94fe6a515f10af4317dd5c (patch)
tree570ec558b6f70565d40a3e4f30cac3515c752c48 /includes/theme.maintenance.inc
parent51948a790b92a44e6d1bccb62332cbd413b36f00 (diff)
downloadbrdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.gz
brdo-02c8592759c5b33d3d94fe6a515f10af4317dd5c.tar.bz2
- Patch #428744 by Gabor: make the main page content a real block and clean up some of the content API.
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r--includes/theme.maintenance.inc4
1 files changed, 2 insertions, 2 deletions
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;
}