You are here

function sheetnode_delete in Sheetnode 7.2

Same name and namespace in other branches
  1. 5 sheetnode.module \sheetnode_delete()
  2. 6 sheetnode.module \sheetnode_delete()
  3. 7 sheetnode.module \sheetnode_delete()

Implements hook_delete().

File

./sheetnode.module, line 125
Module file for the sheetnode module.

Code

function sheetnode_delete(&$node) {
  db_delete('sheetnode')
    ->condition('nid', $node->nid)
    ->execute();
}