You are here

function hosting_nodeapi_site_delete_revision in Hostmaster (Aegir) 6

Implementation of hook_nodeapi_delete_revision().

File

modules/hosting/site/hosting_site.nodeapi.inc, line 112
Site nodeapi implementations.

Code

function hosting_nodeapi_site_delete_revision(&$node) {
  hosting_ip_delete_revision($node);
  db_query('DELETE FROM {hosting_site} WHERE vid = %d', $node->vid);
}