You are here

function protected_node_node_delete in Protected Node 7

Same name and namespace in other branches
  1. 1.0.x protected_node.module \protected_node_node_delete()

Implements hook_node_delete().

File

./protected_node.module, line 746
Protected Node module.

Code

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