You are here

function comment_alter_comment_delete in Comment Alter 7

Same name and namespace in other branches
  1. 8 comment_alter.module \comment_alter_comment_delete()

Implements hook_comment_delete().

File

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

Code

function comment_alter_comment_delete($comment) {
  db_delete('comment_alter')
    ->condition('cid', $comment->cid)
    ->execute();
}