You are here

function boost_admin_modules_submit in Boost 6

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

File

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

Code

function boost_admin_modules_submit($form, &$form_state) {
  if (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');
    }
  }
}