You are here

function similarterms_admin_settings_submit in Similar By Terms 6

Same name and namespace in other branches
  1. 5 similarterms.module \similarterms_admin_settings_submit()
  2. 7 similarterms.admin.inc \similarterms_admin_settings_submit()
1 string reference to 'similarterms_admin_settings_submit'
similarterms_admin_settings in ./similarterms.admin.inc
Module settings page.

File

./similarterms.admin.inc, line 103
Settings form.

Code

function similarterms_admin_settings_submit($form, &$form_state) {
  if ($form_state['values']['similarterms_clear_cache']) {
    cache_clear_all('*', 'cache_similarterms', TRUE);
    drupal_set_message(t('Similarterms Block Cache is now cleared'));
  }
}