function opigno_og_role_grant in Opigno 7
Implements hook_og_role_grant().
File
- ./
opigno.module, line 806 - Contains all hook_implementations and module specific API.
Code
function opigno_og_role_grant($entity_type, $gid, $uid, $rid) {
if (module_exists('rules')) {
rules_invoke_event('og_user_was_granted_role', $entity_type, $gid, $uid, $rid);
}
}