Skip to content

Commit

Permalink
Fix post updates cannot be run (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
tstoeckler authored and weitzman committed Feb 16, 2017
1 parent bc8bb69 commit bb51610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Drush/Commands/core/UpdateDBCommands.php
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 bb51610

Please sign in to comment.