delete.provision.inc

  1. 7.x-3.x dns/delete.provision.inc
  2. 7.x-3.x platform/delete.provision.inc
  3. 7.x-3.x db/delete.provision.inc
  4. 7.x-3.x http/delete.provision.inc

Provision hooks for the delete command

Functions

File

dns/delete.provision.inc
View source
  1. <?php
  2. // $Id: delete.provision.inc,v 1.3 2009/05/07 22:04:30 adrian Exp $
  3. /**
  4. * @file
  5. * Provision hooks for the delete command
  6. **/
  7. function drush_dns_post_provision_delete() {
  8. if (d()->type == 'site') {
  9. d()->service('dns')->delete_host();
  10. d()->service('dns')->parse_configs();
  11. }
  12. }