You are here

function hosting_nodeapi_server_delete_revision in Hosting 6.2

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

Implementation of hook_delete_revision().

File

server/hosting_server.module, line 402

Code

function hosting_nodeapi_server_delete_revision(&$node) {
  db_query('DELETE FROM {hosting_server} WHERE vid = %d', $node->vid);
  hosting_ip_delete_revision($node);
  hosting_server_invoke_services($node, 'delete_revision');
}