You are here

function og_activity_heartbeat_related_uid_info in Heartbeat 6.3

Implementation of hook_heartbeat_related_uid_info()

File

modules/og_activity/og_activity.module, line 80

Code

function og_activity_heartbeat_related_uid_info($uid) {

  // all the messages where the current uid is member of a group
  // where uid is a member of
  $uids = array();
  if (function_exists('og_activity_get_related_uids')) {
    $og_uids = og_activity_get_related_uids($uid);
    $uids = $og_uids;
  }
  return $uids;
}