summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/batch.inc2
-rw-r--r--includes/common.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/batch.inc b/includes/batch.inc
index 42d615926..b136ac999 100644
--- a/includes/batch.inc
+++ b/includes/batch.inc
@@ -170,7 +170,7 @@ function _batch_progress_page_nojs() {
// the error message.
ob_start();
$fallback = $current_set['error_message'] . '<br />' . $batch['error_message'];
- $fallback = theme('maintenance_page', $fallback, FALSE, FALSE);
+ $fallback = theme('maintenance_page', $fallback, FALSE);
// We strip the end of the page using a marker in the template, so any
// additional HTML output by PHP shows up inside the page rather than below
diff --git a/includes/common.inc b/includes/common.inc
index 25f9fbdad..b5686cab7 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -912,7 +912,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
drupal_set_title(t('Error'));
// We fallback to a maintenance page at this point, because the page generation
// itself can generate errors.
- print theme('maintenance_page', t('The website encountered an unexpected error. Please try again later.'), FALSE);
+ print theme('maintenance_page', t('The website encountered an unexpected error. Please try again later.'));
exit;
}
}