You are here

function antispam_node_delete in AntiSpam 7

Implements hook_node_delete().

File

./antispam.module, line 879
Primary hook implementations for the Antispam module.

Code

function antispam_node_delete($node) {
  db_delete('antispam_spam_marks')
    ->condition('content_type', 'node')
    ->condition('content_id', $node->nid)
    ->execute();
}