Skip to content

Commit

Permalink
Fix post updates cannot be run (drush-ops#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
tstoeckler authored and mikeker committed Aug 4, 2017
1 parent 901b8d1 commit 0fda020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Drush/Commands/core/UpdateDBCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ function updateBatch($options) {
'init_message' => 'Starting updates',
'error_message' => 'An unrecoverable error has occurred. You can find the error message below. It is advised to copy it to the clipboard for reference.',
'finished' => [$this, 'drush_update_finished'],
'file' => 'core/includes/update.inc',
);
batch_set($batch);
\Drupal::service('state')->set('system.maintenance_mode', TRUE);
Expand Down

0 comments on commit 0fda020

Please sign in to comment.