Commit 5baf4636 authored by Dries's avatar Dries
Browse files

- Patch #29669 by Neil: micro-performance improvement for update.php + removed

  PHP warning.
parent 21c2885b
......@@ -21,7 +21,7 @@
set_time_limit(180);
}
include_once "database/updates.inc";
include_once './database/updates.inc';
function update_data($start) {
global $sql_updates;
......@@ -99,7 +99,7 @@ function update_access_denied_page() {
</ol>';
}
include_once "includes/bootstrap.inc";
include_once './includes/bootstrap.inc';
drupal_maintenance_theme();
if (isset($_GET["op"])) {
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
......@@ -125,7 +125,7 @@ function update_access_denied_page() {
$output = update_info_page();
}
if ($output) {
if (isset($output)) {
print theme('maintenance_page', $output);
}
Supports Markdown
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