delete.provision.inc 301 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<?php

// $Id: delete.provision.inc,v 1.3 2009/05/07 22:04:30 adrian Exp $

/**
 * @file
 *   Provision hooks for the delete command
 **/

10 11
function drush_dns_post_provision_delete() {
  if (d()->type == 'site') {
12
    d()->service('dns')->delete_host();
13
    d()->service('dns')->parse_configs();
14 15
  }
}