function hosting_site_data_node_revision_delete in Hosting 7.4
Same name and namespace in other branches
- 7.3 example/site_data/hosting_site_data.module \hosting_site_data_node_revision_delete()
Implements hook_revision_revision().
File
- example/
site_data/ hosting_site_data.module, line 84 - The hosting site data example.
Code
function hosting_site_data_node_revision_delete($node) {
db_delete('hosting_site_data')
->condition('vid', $node->vid)
->execute();
}