function drush_searchindex_wipe in Search Index Wipe 8
Same name and namespace in other branches
- 7 searchindex_wipe.drush.inc \drush_searchindex_wipe()
Ask for confirmation and drops indexes.
File
- ./
searchindex_wipe.drush.inc, line 38 - 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();
}
}