You are here

function drush_searchindex_wipe in Search Index Wipe 7

Same name and namespace in other branches
  1. 8 searchindex_wipe.drush.inc \drush_searchindex_wipe()

File

./searchindex_wipe.drush.inc, line 34
Drush related functions.

Code

function drush_searchindex_wipe() {
  if (drush_confirm('Are you sure you want to clear Search index?')) {
    searchindex_wipe_truncate_table();
  }
  else {
    drush_user_abort();
  }
}