function og_role_watchdog_og_role_grant in Role Watchdog 7
Same name and namespace in other branches
- 7.2 modules/og_role_watchdog/og_role_watchdog.module \og_role_watchdog_og_role_grant()
File
- modules/
og_role_watchdog/ og_role_watchdog.module, line 91 - Logs changes to user roles.
Code
function og_role_watchdog_og_role_grant($gid, $uid, $rid) {
$account = user_load($uid);
_og_role_watchdog_process_role_changes($account, array(
$rid,
), array(), $gid);
}