Commit 2a2a7f3f authored by Dries's avatar Dries
Browse files

- Patch #423992 by Davy Van Den Brempt: remove unused variables.

parent 9d6dcc56
...@@ -170,7 +170,7 @@ function _batch_progress_page_nojs() { ...@@ -170,7 +170,7 @@ function _batch_progress_page_nojs() {
// the error message. // the error message.
ob_start(); ob_start();
$fallback = $current_set['error_message'] . '<br />' . $batch['error_message']; $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 // 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 // additional HTML output by PHP shows up inside the page rather than below
......
...@@ -912,7 +912,7 @@ function _drupal_log_error($error, $fatal = FALSE) { ...@@ -912,7 +912,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
drupal_set_title(t('Error')); drupal_set_title(t('Error'));
// We fallback to a maintenance page at this point, because the page generation // We fallback to a maintenance page at this point, because the page generation
// itself can generate errors. // 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; exit;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment