In the Drupal 7 update_7.inc drush puts a site offline and back online:

function drush_update_batch($start) {
  variable_set('maintenance_mode', TRUE);

...
}

...

function drush_update_finished($success, $results, $operations) {
  // Clear the caches in case the data has been updated.
  drupal_flush_all_caches();
  variable_del('maintenance_mode');
}

This is different from the behavior in update_5.inc and update_6.inc.

For consistency, this offline/online code should be removed from update_7.inc

CommentFileSizeAuthor
#1 833858-D7-update-consistency-1.patch745 bytespwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new745 bytes

simple patch

moshe weitzman’s picture

Status: Needs review » Fixed

committed. thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.