function _countries_api_flush in Country codes API 6
Same name and namespace in other branches
- 5 countries_api.module \_countries_api_flush()
Function to flush (empty) the countries database
1 call to _countries_api_flush()
- countries_api_update_6101 in ./
countries_api.install - Implementation of hook_update_N().
File
- ./
countries_api.module, line 352 - Countries API provides an API for official and up-to-date ISO 3166 country codes (alpha-2 and alpha-3) and names (official short names).
Code
function _countries_api_flush() {
db_query("DELETE FROM {countries_api_countries}");
}