function user_limit_user in User Limit 6
Implementation of hook_user().
File
- ./
user_limit.module, line 121 - Everything related to User Limit. There are no include files.
Code
function user_limit_user($type, &$edit, $account, $category = NULL) {
if ($type == 'insert' && user_limit_surpassed()) {
user_delete($edit, $account->uid);
watchdog('user limit', 'User limit surpassed', $variables = array(), WATCHDOG_NOTICE, $link = 'admin/user/settings');
}
}