You are here

function spambot_node_delete in Spambot 7

Same name and namespace in other branches
  1. 8 spambot.module \spambot_node_delete()

Implements hook_node_delete().

File

./spambot.module, line 125
Main module file.

Code

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