You are here

function boost_admin_performance_page_submit in Boost 6

Process system_themes_form form submissions.

1 string reference to 'boost_admin_performance_page_submit'
boost_form_alter in ./boost.module
Implementation of hook_form_alter(). Performs alterations before a form is rendered.

File

./boost.admin.inc, line 33
All the code for the Boost module's administrative interface.

Code

function boost_admin_performance_page_submit($form, &$form_state) {
  if (variable_get('boost_ignore_flush', 0) == 0 && (variable_get('preprocess_css', FALSE) == TRUE || variable_get('preprocess_js', FALSE) == TRUE)) {
    if (boost_cache_clear_all()) {
      drupal_set_message(t('Boost: Static page cache cleared.'), 'warning');
    }
  }
}