You are here

function sweaver_clear_cache in Sweaver 6

Same name and namespace in other branches
  1. 7 sweaver.module \sweaver_clear_cache()

Clear cache and page requisites.

3 calls to sweaver_clear_cache()
sweaver_drush_edit_style in drush/sweaver.drush.inc
Edit a style.
sweaver_plugin_styles::sweaver_form_submit in plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc
Frontend form submit.
sweaver_plugin_styles::sweaver_style_confirm_form_delete_submit in plugins/sweaver_plugin_styles/sweaver_plugin_styles.inc
Submit callback, delete style.

File

./sweaver.module, line 544
Sweaver functions.

Code

function sweaver_clear_cache() {
  cache_clear_all();
  drupal_clear_css_cache();
}