You are here

function role_watchdog_user_load in Role Watchdog 7

Same name and namespace in other branches
  1. 7.2 role_watchdog.module \role_watchdog_user_load()

Implements hook_user_load().

File

./role_watchdog.module, line 110
Logs changes to user roles.

Code

function role_watchdog_user_load($users) {
  foreach ($users as $uid => $user) {
    _role_watchdog_user_roles_cache($uid, $user->roles);
  }
}