You are here

function comment_alter_node_revision_delete in Comment Alter 7

Implements hook_node_revision_delete().

File

./comment_alter.module, line 715
Provides UI to alter nodes' parameters from comment forms.

Code

function comment_alter_node_revision_delete($node) {
  db_delete('comment_alter')
    ->condition(db_or()
    ->condition('old_vid', $node->vid)
    ->condition('new_vid', $node->vid))
    ->execute();
}