summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 12:19:10 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-30 12:19:10 +0000
commite9f52b4248a5268630b51ee0746dcf8b6449d445 (patch)
tree2a75a607895da5e9ec5271971426a5344e8911a4 /update.php
parent6d4b0a24fad35cfbbf48d3b3f82ff5dbc243e5cb (diff)
downloadbrdo-e9f52b4248a5268630b51ee0746dcf8b6449d445.tar.gz
brdo-e9f52b4248a5268630b51ee0746dcf8b6449d445.tar.bz2
#141727 by merlinofchaos, dvessel, sun: restore themeability support for maintenance pages (regression)
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
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);
}