diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/update.php b/update.php index 890d4c0ad..38738dee9 100644 --- a/update.php +++ b/update.php @@ -13,6 +13,8 @@ * be sure to open settings.php again, and change it back to its original state! */ +define('MAINTENANCE_MODE', 'update'); + /** * Add a column to a database using syntax appropriate for PostgreSQL. * Save result of SQL commands in $ret array. @@ -803,7 +805,7 @@ function update_task_list($active = NULL) { 'finished' => 'Review log', ); - drupal_set_content('left', theme_task_list($tasks, $active)); + drupal_set_content('left', theme('task_list', $tasks, $active)); } // Some unavoidable errors happen because the database is not yet up-to-date. @@ -875,5 +877,5 @@ else { $output = update_access_denied_page(); } if (isset($output) && $output) { - print theme('maintenance_page', $output); + print theme('update_page', $output); } |