You are here

function hosting_nodeapi_server_delete_revision in Hosting 7.4

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

Implements hook_delete_revision().

File

server/hosting_server.module, line 599

Code

function hosting_nodeapi_server_delete_revision(&$node) {
  db_delete('hosting_server')
    ->condition('vid', $node->vid)
    ->execute();
  hosting_ip_delete_revision($node);
  hosting_server_invoke_services($node, 'delete_revision');
}