You are here

function hosting_package_delete in Hosting 7.4

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

Implements hook_delete().

File

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

Code

function hosting_package_delete($node) {
  db_delete('hosting_package')
    ->condition('nid', $node->nid)
    ->execute();
}