You are here

function views_bulk_operations_delete_comment_action in Views Bulk Operations (VBO) 6.3

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

File

./delete.action.inc, line 40

Code

function views_bulk_operations_delete_comment_action($comment) {
  require_once drupal_get_path('module', 'comment') . '/comment.admin.inc';
  _comment_delete_thread($comment);
  _comment_update_node_statistics($comment->nid);
}