You are here

function hosting_nodeapi_platform_delete_revision in Hosting 7.4

Same name and namespace in other branches
  1. 5 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()
  2. 6.2 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()
  3. 7.3 platform/hosting_platform.module \hosting_nodeapi_platform_delete_revision()

Implements hook_nodeapi_TYPE_OP().

File

platform/hosting_platform.module, line 636
Platform node type definition.

Code

function hosting_nodeapi_platform_delete_revision(&$node) {
  db_delete('hosting_platform')
    ->condition('vid', $node->vid)
    ->execute();
}