You are here

function hosting_nodeapi_platform_delete_revision in Hosting 6.2

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

Implementation of hook_nodeapi_TYPE_OP().

File

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

Code

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