You are here

function activity_comments_comment_delete_submit in Activity 7

Same name and namespace in other branches
  1. 6.2 activity_comments/activity_comments.module \activity_comments_comment_delete_submit()

Form submit for the delete form

File

activity_comments/activity_comments.module, line 73
Provides comment handling for activity messages

Code

function activity_comments_comment_delete_submit($form, &$form_state) {
  db_delete('activity_comments')
    ->condition('cid', $form['#cid'])
    ->execute();
}