You are here

function drush_optimizedb_optimize in OptimizeDB 6

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

Optimizing the tables.

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

File

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

Code

function drush_optimizedb_optimize() {
  drush_bootstrap(DRUSH_BOOTSTRAP_DRUPAL_FULL);
  $form_state = array();
  optimizedb_admin_optimize_table_submit(array(), $form_state);
}