summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-19 19:10:08 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-19 19:10:08 +0000
commit2f9af75438c58b1aab3e66a8eee81d0168488ed6 (patch)
tree13c371942fd38d496921eae9fcbaf6e0b1b8424b /update.php
parent680979845ad9c1648a1b262c0fff242ef219c18f (diff)
downloadbrdo-2f9af75438c58b1aab3e66a8eee81d0168488ed6.tar.gz
brdo-2f9af75438c58b1aab3e66a8eee81d0168488ed6.tar.bz2
- Patch #430342 by kkaefer et al: usability improvement: changed 'site maintenance' to 'maintenance mode'.
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/update.php b/update.php
index 939949e23..e47d11507 100644
--- a/update.php
+++ b/update.php
@@ -290,7 +290,7 @@ function update_script_selection_form() {
function update_batch() {
global $base_url;
- // During the update, toggle site maintenance so that schema changes do not
+ // During the update, bring the site offline so that schema changes do not
// affect visiting users.
drupal_set_session('site_offline', variable_get('site_offline', FALSE));
if ($_SESSION['site_offline'] == FALSE) {
@@ -330,7 +330,7 @@ function update_finished($success, $results, $operations) {
drupal_set_session('update_success', $success);
drupal_set_session('updates_remaining', $operations);
- // Now that the update is done, we can disable site maintenance if it was
+ // Now that the update is done, we can put the site back online if it was
// previously turned off.
if (isset($_SESSION['site_offline']) && $_SESSION['site_offline'] == FALSE) {
variable_set('site_offline', FALSE);
@@ -424,7 +424,7 @@ function update_info_page() {
$output .= "<ol>\n";
$output .= "<li><strong>Back up your database</strong>. This process will change your database values and in case of emergency you may need to revert to a backup.</li>\n";
$output .= "<li><strong>Back up your code</strong>. Hint: when backing up module code, do not leave that backup in the 'modules' or 'sites/*/modules' directories as this may confuse Drupal's auto-discovery mechanism.</li>\n";
- $output .= '<li>Put your site into <a href="' . base_path() . '?q=admin/settings/site-maintenance">maintenance mode</a>.</li>' . "\n";
+ $output .= '<li>Put your site into <a href="' . base_path() . '?q=admin/settings/maintenance-mode">maintenance mode</a>.</li>' . "\n";
$output .= "<li>Install your new files in the appropriate location, as described in the handbook.</li>\n";
$output .= "</ol>\n";
$output .= "<p>When you have performed the steps above, you may proceed.</p>\n";