You are here

function hosting_nodeapi_site_delete_revision in Hosting 7.3

Same name and namespace in other branches
  1. 5 site/hosting_site.module \hosting_nodeapi_site_delete_revision()
  2. 6.2 site/hosting_site.nodeapi.inc \hosting_nodeapi_site_delete_revision()
  3. 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();
}