You are here

function inactive_user_user in Inactive User 5

Same name and namespace in other branches
  1. 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;
  }
}