function hosting_nodeapi_site_delete_revision in Hosting 7.3
Same name and namespace in other branches
- 5 site/hosting_site.module \hosting_nodeapi_site_delete_revision()
- 6.2 site/hosting_site.nodeapi.inc \hosting_nodeapi_site_delete_revision()
- 7.4 site/hosting_site.nodeapi.inc \hosting_nodeapi_site_delete_revision()
Implements hook_nodeapi_delete_revision().
File
- site/
hosting_site.nodeapi.inc, line 211 - Site nodeapi implementations.
Code
function hosting_nodeapi_site_delete_revision(&$node) {
db_delete('hosting_site')
->condition('vid', $node->vid)
->execute();
}