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