function xmlsitemap_system_modules_submit in XML sitemap 6.2
Submit callback; manually clears XML sitemap caches when modules are changed.
1 string reference to 'xmlsitemap_system_modules_submit'
- xmlsitemap_form_system_modules_alter in ./
xmlsitemap.module - Implements hook_form_FORM_ID_alter().
File
- ./
xmlsitemap.module, line 241 - Main file for the xmlsitemap module.
Code
function xmlsitemap_system_modules_submit($form, $form_state) {
cache_clear_all('xmlsitemap:', 'cache', TRUE);
}