diff --git a/core/update.php b/core/update.php index db92c1a..e0b1e9d 100644 --- a/core/update.php +++ b/core/update.php @@ -304,7 +304,9 @@ function update_info_page() { $output = '

Use this utility to update your database whenever a new release of Drupal or a module is installed.

For more detailed information, see the upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

'; $output .= "
    \n"; $output .= "
  1. 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.
  2. \n"; - $output .= '
  3. Put your site into maintenance mode.
  4. ' . "\n"; + if (\Drupal::state()->get('system.maintenance_mode') != TRUE) { + $output .= '
  5. Put your site into maintenance mode.
  6. ' . "\n"; + } $output .= "
  7. Back up your database. This process will change your database values and in case of emergency you may need to revert to a backup.
  8. \n"; $output .= "
  9. Install your new files in the appropriate location, as described in the handbook.
  10. \n"; $output .= "
\n";