function _og_role_watchdog_write_group_information in Role Watchdog 7
Same name and namespace in other branches
- 6.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_write_group_information()
- 6 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_write_group_information()
- 7.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_write_group_information()
Internal function
Handle writing og-specific information to the auxilary og_role_watchdog table.
2 calls to _og_role_watchdog_write_group_information()
- _og_role_watchdog_add_role in modules/
og_role_watchdog/ og_role_watchdog.module - _og_role_watchdog_remove_role in modules/
og_role_watchdog/ og_role_watchdog.module
File
- modules/
og_role_watchdog/ og_role_watchdog.module, line 277 - Logs changes to user roles.
Code
function _og_role_watchdog_write_group_information($record, $gid, $rid) {
$og_role_watchdog_record = array(
'hid' => $record['hid'],
'gid' => $gid,
'rid' => $rid,
);
drupal_write_record('og_role_watchdog', $og_role_watchdog_record);
}