You are here

function _og_role_watchdog_write_group_information in Role Watchdog 6

Same name and namespace in other branches
  1. 6.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_write_group_information()
  2. 7.2 modules/og_role_watchdog/og_role_watchdog.module \_og_role_watchdog_write_group_information()
  3. 7 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.

3 calls to _og_role_watchdog_write_group_information()
_og_role_watchdog_approve_role in modules/og_role_watchdog/og_role_watchdog.module
Internal function
_og_role_watchdog_process_role_changes in modules/og_role_watchdog/og_role_watchdog.module
Internal function
_og_role_watchdog_request_role in modules/og_role_watchdog/og_role_watchdog.module
Internal function

File

modules/og_role_watchdog/og_role_watchdog.module, line 222
Logs changes to user roles.

Code

function _og_role_watchdog_write_group_information($record, $gid) {
  $og_role_watchdog_record = array(
    'hid' => $record['hid'],
    'gid' => $gid,
  );
  drupal_write_record('og_role_watchdog', $og_role_watchdog_record);
}