diff --git a/lib/Drush/Commands/core/UpdateDBCommands.php b/lib/Drush/Commands/core/UpdateDBCommands.php index c38eda645c..384d2e9505 100644 --- a/lib/Drush/Commands/core/UpdateDBCommands.php +++ b/lib/Drush/Commands/core/UpdateDBCommands.php @@ -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);