public BanIpManager::unbanIp($id)
Unbans an IP address.
Parameters
string $id: The IP address to unban.
Overrides BanIpManagerInterface::unbanIp
File
- core/modules/ban/src/BanIpManager.php, line 56
Class
- BanIpManager
- Ban IP manager.
Namespace
Drupal\ban
Code
public function unbanIp($id) { $this->connection->delete('ban_ip') ->condition('ip', $id) ->execute(); }
Please login to continue.