function drush_db_provision_delete

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

Implementation of hook_provision_delete()

This will drop the database, revoke the privileges and flush the privileges.

File

db/delete.provision.inc, line 14

Code

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