You are here

function drush_autoload_rebuild in Autoload 7.2

Implements drush_COMMAND().

1 call to drush_autoload_rebuild()
autoload_drush_exit in ./autoload.drush.inc
Implements hook_drush_exit().

File

./autoload.drush.inc, line 39
Drush integration.

Code

function drush_autoload_rebuild() {
  if (!db_table_exists(\AutoloadCache::BIN)) {
    drupal_install_schema('autoload');
  }
  autoload(TRUE);
  drush_log(dt('The autoloading class map has been rebuilt.'), 'success');
}