You are here

function location_util_form_submit in Location 5.3

Compatibility shim for utilities form.

File

./location.d5.inc, line 43
Drupal 5 specific routines.

Code

function location_util_form_submit($form_id, $form_values) {
  if ($form_values['op'] == t('Clear province cache')) {
    return location_util_form_clear_province_cache_submit();
  }
  else {
    if ($form_values['op'] == t('Clear supported country list')) {
      return location_util_form_clear_supported_countries_submit();
    }
  }
}