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

merge-requests/26/head
Dries Buytaert 2009-08-26 15:00:17 +00:00
parent 9d6dcc5682
commit 2a2a7f3f51
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}
}