You are here

function ip_tracker_user_remove in IP address manager 6

Same name and namespace in other branches
  1. 7.2 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 115
IP address manager module.

Code

function ip_tracker_user_remove($uid) {
  $sql = "DELETE FROM {ip_tracker} WHERE uid = %d";
  $args = array(
    $uid,
  );
  db_query($sql, $args);
}