You are here

function protected_node_node_delete in Protected Node 1.0.x

Same name and namespace in other branches
  1. 7 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();
}