You are here

function facebook_comments_node_delete in Facebook Comments Social Plugin 7

Implements hook_node_delete().

File

./facebook_comments.module, line 378
Facebook Comments Social Plugin module file.

Code

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