summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-26 15:00:17 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-26 15:00:17 +0000
commit2a2a7f3f514a12ef2ebd9805340a897a258f988b (patch)
treeb205a2a763312c40fa58b676017378acfe750e7d
parent9d6dcc5682706c3f2d69220243a3c58d20c74200 (diff)
downloadbrdo-2a2a7f3f514a12ef2ebd9805340a897a258f988b.tar.gz
brdo-2a2a7f3f514a12ef2ebd9805340a897a258f988b.tar.bz2
- Patch #423992 by Davy Van Den Brempt: remove unused variables.
-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;
}
}