From 2f9af75438c58b1aab3e66a8eee81d0168488ed6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Apr 2009 19:10:08 +0000 Subject: - Patch #430342 by kkaefer et al: usability improvement: changed 'site maintenance' to 'maintenance mode'. --- update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'update.php') 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 .= "
    \n"; $output .= "
  1. Back up your database. This process will change your database values and in case of emergency you may need to revert to a backup.
  2. \n"; $output .= "
  3. Back up your code. 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.
  4. \n"; - $output .= '
  5. Put your site into maintenance mode.
  6. ' . "\n"; + $output .= '
  7. Put your site into maintenance mode.
  8. ' . "\n"; $output .= "
  9. Install your new files in the appropriate location, as described in the handbook.
  10. \n"; $output .= "
\n"; $output .= "

When you have performed the steps above, you may proceed.

\n"; -- cgit v1.2.3