function drush_db_provision_delete_validate

7.x-3.x delete.provision.inc drush_db_provision_delete_validate()

File

db/delete.provision.inc, line 3

Code

function drush_db_provision_delete_validate() {
  if (d()->type === 'site') {
    d()->service('db')->connect();
  }
}