You are here

function optimizedb_admin_clear_table_submit in OptimizeDB 7

Same name and namespace in other branches
  1. 6 optimizedb.module \optimizedb_admin_clear_table_submit()

Form submission handler for optimizedb_admin().

Clear cache in table "cache_form" which has expired.

1 string reference to 'optimizedb_admin_clear_table_submit'
optimizedb_admin in ./optimizedb.module
Configuring the module.

File

./optimizedb.module, line 797
Database Optimization.

Code

function optimizedb_admin_clear_table_submit($form, &$form_state) {
  _optimizedb_clear_cache_form_table(OPTIMIZEDB_CLEAR_EXPIRED_CACHE);
  drupal_set_message(t('The table is cleared.'));
}