Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2010 at 18:59 UTC
Updated:
5 Jul 2010 at 19:20 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 833858-D7-update-consistency-1.patch | 745 bytes | pwolanin |
Comments
Comment #1
pwolanin commentedsimple patch
Comment #2
moshe weitzman commentedcommitted. thanks.