You are here

function hosting_nodeapi_server_delete_revision in Hostmaster (Aegir) 6

Implementation of hook_delete_revision().

File

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

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