http://api.drupal.org/api/drupal/modules!comment!comment.module/function...

This acts on node deletion:

case 'delete':
      db_query('DELETE FROM {comments} WHERE nid = %d', $node->nid);
      db_query('DELETE FROM {node_comment_statistics} WHERE nid = %d', $node->nid);
      break;

however, it doesn't fire hook_comment() to tell other modules the comment has been deleted.

Comments

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.