You are here

function advagg_bundler_admin_settings_form_validate in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_bundler/advagg_bundler.admin.inc \advagg_bundler_admin_settings_form_validate()

Validate form values. Used to unset variables before they get saved.

File

advagg_bundler/advagg_bundler.admin.inc, line 89
Admin page callbacks for the advagg bundler module.

Code

function advagg_bundler_admin_settings_form_validate($form, &$form_state) {
  global $conf;
  cache_clear_all('*', 'cache_advagg_bundle_reuse', TRUE);

  // Remove non variable form info.
  unset($form_state['values']['advagg_bundler_info']);
}