function googlenews_admin_settings_submit in Google News sitemap 7
FormAPI submission callback for googlenews_admin_settings.
1 string reference to 'googlenews_admin_settings_submit'
- googlenews_admin_settings in ./
googlenews.admin.inc - Form builder; administration settings.
File
- ./
googlenews.admin.inc, line 163 - Admin functionality for the GoogleNews module.
Code
function googlenews_admin_settings_submit(&$form, &$form_state) {
cache_clear_all('googlenews', 'cache');
cache_clear_all(url('googlenews.xml', array(
'absolute' => TRUE,
)), 'cache_page');
drupal_set_message(t('The cached sitemap has been cleared, all settings changes will take immediate effect.'));
}