You are here

function drush_optimizedb_cleaning in OptimizeDB 6

Same name and namespace in other branches
  1. 7 includes/optimizedb.drush.inc \drush_optimizedb_cleaning()

Cleaning table cache_form.

1 string reference to 'drush_optimizedb_cleaning'
optimizedb_drush_command in includes/optimizedb.drush.inc
Implements hook_drush_command().

File

includes/optimizedb.drush.inc, line 41
Functions for optimizing the tables and cleaning table cache_form.

Code

function drush_optimizedb_cleaning() {
  drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
  _optimizedb_clear_table();
  drush_log(dt('The table "cache_form" is cleared.'), 'ok');
}