function activity_comments_comment_delete_submit in Activity 6.2
Same name and namespace in other branches
- 7 activity_comments/activity_comments.module \activity_comments_comment_delete_submit()
Form submit for the delete form
File
- activity_comments/
activity_comments.module, line 72 - Provides comment handling for activity messages
Code
function activity_comments_comment_delete_submit($form, &$form_state) {
db_query("DELETE FROM {activity_comments} WHERE cid = %d", $form['#cid']);
}