You are here

function heartbeat_promote_message_instance in Heartbeat 6.4

Promote a message to the list again.

Parameters

string $hid:

File

./heartbeat.module, line 1659

Code

function heartbeat_promote_message_instance($uaid) {
  $uaids = heartbeat_get_uaids($uaid);
  foreach ($uaids as $row_uaid) {
    if ($row = heartbeat_load_message_instance($row_uaid)) {
      db_query("UPDATE {heartbeat_activity} set timestamp = %d WHERE uaid = %d ", time(), $row_uaid);
    }
  }
  return FALSE;
}