function hosting_nodeapi_client_delete_revision in Hosting 7.4
Same name and namespace in other branches
- 5 client/hosting_client.module \hosting_nodeapi_client_delete_revision()
- 6.2 client/hosting_client.module \hosting_nodeapi_client_delete_revision()
- 7.3 client/hosting_client.module \hosting_nodeapi_client_delete_revision()
Implements hook_nodeapi_TYPE_OP().
See also
File
- client/
hosting_client.module, line 582
Code
function hosting_nodeapi_client_delete_revision(&$node) {
db_delete('hosting_client')
->condition('vid', $node->vid)
->execute();
}