function inactive_user_user in Inactive User 6
Same name and namespace in other branches
- 5 inactive_user.module \inactive_user_user()
Implementation of hook_user().
File
- ./
inactive_user.module, line 22 - The inactive user module controls inactive users.
Code
function inactive_user_user($type, $edit, &$user) {
switch ($type) {
case 'delete':
db_query("DELETE FROM {inactive_users} WHERE uid = %d", $user->uid);
break;
}
}