function comment_confirm_delete_page

Page callback: Shows a confirmation page for comment deletions.

Parameters

$cid: The ID of the comment that is about to be deleted.

See also

comment_menu()

comment_confirm_delete()

1 string reference to 'comment_confirm_delete_page'
comment_menu in drupal/core/modules/comment/comment.module
Implements hook_menu().

File

drupal/core/modules/comment/comment.admin.inc, line 272
Admin page callbacks for the Comment module.

Code

function comment_confirm_delete_page($cid) {
  if ($comment = comment_load($cid)) {
    return drupal_get_form('comment_confirm_delete', $comment);
  }
  throw new NotFoundHttpException();
}