function drush_optimizedb_optimize in OptimizeDB 7
Same name and namespace in other branches
- 6 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);
}