function history_node_delete

Implements hook_node_delete().

File

drupal/core/modules/history/history.module, line 82
Records which users have read which content.

Code

function history_node_delete(Node $node) {
  db_delete('history')
    ->condition('nid', $node->nid)
    ->execute();
}