You are here

function hosting_nodeapi_package_delete_revision in Hosting 7.4

Same name and namespace in other branches
  1. 5 package/hosting_package.module \hosting_nodeapi_package_delete_revision()
  2. 6.2 package/hosting_package.module \hosting_nodeapi_package_delete_revision()
  3. 7.3 package/hosting_package.module \hosting_nodeapi_package_delete_revision()

@todo document this function

File

package/hosting_package.module, line 313
Defines package node types

Code

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