public function Ip2CountryManager::emptyDatabase in IP-based Determination of a Visitor's Country 8
Empties the ip2country table in the database.
Overrides Ip2CountryManagerInterface::emptyDatabase
File
- src/
Ip2CountryManager.php, line 290
Class
- Ip2CountryManager
- The ip2country.manager service.
Namespace
Drupal\ip2countryCode
public function emptyDatabase() {
$this->connection
->truncate('ip2country')
->execute();
}