Function __global->remove_ip_ban

Definitions

sources/failure.php

  • Remove an IP-ban.This also silences all hack-attack logs from staff for this IP address (which also means they no-longer count towards risk score).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$ip IP No No required parameter N/A N/A The IP address to unban (potentially encoded with *'s, although this will only unban an exact matching wildcard ban)

Preview

Code (PHP)

/**
 * Remove an IP-ban.This also silences all hack-attack logs from staff for this IP address (which also means they no-longer count towards risk score).
 *
 * @param  IP $ip The IP address to unban (potentially encoded with *'s, although this will only unban an exact matching wildcard ban)
 */

function remove_ip_ban(string $ip)