You are here

function hosting_nodeapi_client_delete_revision in Hosting 7.4

Same name and namespace in other branches
  1. 5 client/hosting_client.module \hosting_nodeapi_client_delete_revision()
  2. 6.2 client/hosting_client.module \hosting_nodeapi_client_delete_revision()
  3. 7.3 client/hosting_client.module \hosting_nodeapi_client_delete_revision()

Implements hook_nodeapi_TYPE_OP().

See also

hosting_nodeapi()

File

client/hosting_client.module, line 582

Code

function hosting_nodeapi_client_delete_revision(&$node) {
  db_delete('hosting_client')
    ->condition('vid', $node->vid)
    ->execute();
}