You are here

function hosting_server_delete in Hostmaster (Aegir) 6

Implementation of hook_delete().

File

modules/hosting/server/hosting_server.module, line 373

Code

function hosting_server_delete($node) {
  db_query('DELETE FROM {hosting_server} WHERE nid = %d', $node->nid);
  hosting_ip_delete($node);
  hosting_context_delete($node->nid);
  hosting_server_invoke_services($node, 'delete_revision');
}