You are here

function ip_tracker_user_remove in IP address manager 7.2

Same name and namespace in other branches
  1. 6 ip.module \ip_tracker_user_remove()
  2. 7 ip.module \ip_tracker_user_remove()

Remove records in the ip_tracker table for a certain user.

File

./ip.module, line 83
IP address manager module.

Code

function ip_tracker_user_remove($uid) {
  return db_delete('ip_tracker')
    ->condition('uid', $uid)
    ->execute();
}