You are here

function hosting_server_delete in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.module \hosting_server_delete()
  2. 7.3 server/hosting_server.module \hosting_server_delete()

Implementation of hook_delete().

File

server/hosting_server.module, line 411

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');
}