summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-27 00:22:27 +0000
commit2e8ca690ff471b1d6604226e8153f401b1827204 (patch)
tree546f818191f809271154f26464961e3425dbc72c /modules/system/system.admin.inc
parentba5609c11a88f8ab8f42520c3f39eafb69dd463e (diff)
downloadbrdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.gz
brdo-2e8ca690ff471b1d6604226e8153f401b1827204.tar.bz2
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter. Oh, behave.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 703de2d01..be461d727 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1888,7 +1888,10 @@ function system_batch_page() {
elseif (isset($output)) {
// Force a page without blocks or messages to
// display a list of collected messages later.
- print theme('page', $output, FALSE, FALSE);
+ $page = drupal_get_page($output);
+ $page['#show_blocks'] = FALSE;
+ $page['#show_messages'] = FALSE;
+ return $page;
}
}