Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2a2a7f3f
Commit
2a2a7f3f
authored
Aug 26, 2009
by
Dries Buytaert
Browse files
- Patch
#423992
by Davy Van Den Brempt: remove unused variables.
parent
9d6dcc56
Changes
2
Hide whitespace changes
Inline
Side-by-side
includes/batch.inc
View file @
2a2a7f3f
...
...
@@ -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
...
...
includes/common.inc
View file @
2a2a7f3f
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment