You are here

function IpTracker::remove in IP address manager 8.2

Remove records in the ip_tracker table for a certain user.

File

src/IpTracker.php, line 75

Class

IpTracker

Namespace

Drupal\ip

Code

function remove() {
  return $this->connection
    ->delete('ip_tracker')
    ->condition('uid', $this->account
    ->id())
    ->execute();
}