You are here

function location_util_form_clear_province_cache_submit in Location 5.3

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

Location utilities form: Clear province cache.

1 call to location_util_form_clear_province_cache_submit()
location_util_form_submit in ./location.d5.inc
Compatibility shim for utilities form.
1 string reference to 'location_util_form_clear_province_cache_submit'
_location_util_form in ./location.admin.inc
Location Utilities form.

File

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

Code

function location_util_form_clear_province_cache_submit() {
  drupal_set_message(t('Location province cache cleared.'));
  cache_clear_all('provinces:', 'cache_location', TRUE);
}