You are here

function hostingService_dns_master::delete in Hostmaster (Aegir) 6

Overrides hostingService::delete

File

modules/hosting/dns/hosting_dns.service.inc, line 80
Provide the hosting serivce classes for DNS integration.

Class

hostingService_dns_master
Helper class to factor together master functionality

Code

function delete() {
  parent::delete();
  db_query('DELETE FROM {hosting_dns_slaves} WHERE master_nid = %d', $this->server->nid);
}