You are here

function flag_heartbeat_heartbeat_activity_delete in Heartbeat 6.4

Implementation of hook_heartbeat_activity_delete(). Delete the attached comments to a heartbeat activity object.

Parameters

$message: HeartbeatActivity ID

See also

module_invoke_all('heartbeat_activity_delete', $activity);

File

modules/flag_heartbeat/flag_heartbeat.module, line 84

Code

function flag_heartbeat_heartbeat_activity_delete($activity) {
  db_query("DELETE FROM {flag_content} WHERE content_type = 'heartbeat_message' AND content_id = %d ", $activity->uaid);
}