You are here

function views_bulk_operations_delete_comment_action in Views Bulk Operations (VBO) 6

Same name and namespace in other branches
  1. 6.3 delete.action.inc \views_bulk_operations_delete_comment_action()

File

actions/delete.action.inc, line 40

Code

function views_bulk_operations_delete_comment_action($comment) {
  module_load_include('inc', 'comment', 'comment.admin');
  _comment_delete_thread($comment);
  _comment_update_node_statistics($comment->nid);
}