From 032fe0a66d97469609f5fe7cc6be242765042a63 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 2 Nov 2009 15:57:33 +0000 Subject: #539022 follow-up by David_Rothstein: Batch API should use the current theme to run the batches. --- modules/system/system.admin.inc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index aa1d2e9d1..7e672950f 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -2054,10 +2054,6 @@ function system_batch_page() { require_once DRUPAL_ROOT . '/includes/batch.inc'; $output = _batch_page(); - // Use the same theme that the page that started the batch. - $batch = &batch_get(); - $GLOBALS['custom_theme'] = $batch['theme']; - if ($output === FALSE) { drupal_access_denied(); } -- cgit v1.2.3