You are here

function boost_block_db_settings_form_submit in Boost 6

Sets page specific settings in the boost cache database.

1 string reference to 'boost_block_db_settings_form_submit'
boost_block_db_settings_form in ./boost.module

File

./boost.module, line 2425
Provides static file caching for Drupal text output. Pages, Feeds, ect...

Code

function boost_block_db_settings_form_submit(&$form_state, $form) {
  global $_boost;
  $flushed = boost_set_db_page_settings($form['values']['lifetime'], $form['values']['push'], $form['values']['selection']);
  if (BOOST_VERBOSE >= 7 && isset($_boost['verbose_option_selected']['boost_block_settings_submit'])) {
    watchdog('boost', 'Debug: boost_block_db_settings_form_submit() <br />!flushed pages being expired from the cache in order for the new settings to take effect.', array(
      '!flushed' => $flushed,
    ));
  }
}