function role_watchdog_user_insert in Role Watchdog 7.2
Same name and namespace in other branches
- 8 role_watchdog.module \role_watchdog_user_insert()
Implements hook_user_insert().
File
- ./
role_watchdog.module, line 142 - Logs changes to user roles.
Code
function role_watchdog_user_insert(&$edit, $account, $category) {
if (isset($account->uid) && isset($edit['roles'])) {
role_watchdog_user_save($account->uid, $edit, $account);
}
}