You are here

function message_plugin_og_accessible_ids in Message 6

Get all groups a user belongs to.

File

plugins/message/message_plugin_og.inc, line 16

Code

function message_plugin_og_accessible_ids($account) {
  return !empty($account->og_groups) ? array_keys($account->og_groups) : array();
}