function favicon_cache_clear in Favicon 7.2
Clears all favicon caches.
1 call to favicon_cache_clear()
- favicon_settings_form_submit in ./
favicon.admin.inc - Form submit callback for favicon_settings_form.
1 string reference to 'favicon_cache_clear'
- favicon_form_system_theme_settings_alter in ./
favicon.module - Implements hook_form_FORM_ID_alter().
File
- ./
favicon.module, line 119 - Module file for favicon module.
Code
function favicon_cache_clear() {
drupal_static_reset('favicon_get_favicon_file');
// Clear the favicon cache.
cache_clear_all('favicon', 'cache', TRUE);
// Clear the page cache.
cache_clear_all(NULL, 'cache_page');
}