You are here

function hosting_nodeapi_package_delete_revision in Hosting 5

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

File

package/hosting_package.module, line 203

Code

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