You are here

function location_util_form_clear_supported_countries_submit in Location 7.5

Same name and namespace in other branches
  1. 5.3 location.admin.inc \location_util_form_clear_supported_countries_submit()
  2. 6.3 location.admin.inc \location_util_form_clear_supported_countries_submit()
  3. 7.3 location.admin.inc \location_util_form_clear_supported_countries_submit()
  4. 7.4 location.admin.inc \location_util_form_clear_supported_countries_submit()

Location utilities form: Clear supported countries cache.

1 string reference to 'location_util_form_clear_supported_countries_submit'
location_util_form in ./location.admin.inc
Location Utilities form.

File

./location.admin.inc, line 385
Admin forms for Location.

Code

function location_util_form_clear_supported_countries_submit() {
  drupal_set_message(t('Location supported country list cleared.'));
  cache_clear_all('location:supported-countries', 'cache_location');
}