You are here

function pmnote_delete in Drupal PM (Project Management) 7

Implements hook_delete().

File

pmnote/pmnote.module, line 416
Functions for the PM Note module.

Code

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