You are here

function _heartbeat_comment_load in Heartbeat 6.4

Same name and namespace in other branches
  1. 7 modules/heartbeat_comments/heartbeat_comments.admin.inc \_heartbeat_comment_load()

Load the entire comment by cid.

Parameters

$cid: The identifying comment id.

Return value

A heartbeat comment object.

1 call to _heartbeat_comment_load()
heartbeat_comments_multiple_delete_confirm in modules/heartbeat_comments/heartbeat_comments.admin.inc
List the selected comments and verify that the admin really wants to delete them.

File

modules/heartbeat_comments/heartbeat_comments.admin.inc, line 148
Admin page callbacks for the heartbeat comments module.

Code

function _heartbeat_comment_load($cid) {
  return db_fetch_object(db_query('SELECT * FROM {heartbeat_comments} WHERE hcid = %d', $cid));
}