function drush_suggestion_clear in Autocomplete Search Suggestions 7
Truncate suggestion table.
File
- ./
suggestion.drush.inc, line 29 - Drush commands for suggestion module.
Code
function drush_suggestion_clear() {
variable_set('suggestion_synced', FALSE);
SuggestionStorage::truncateSuggestion();
drush_log('Cleared the suggestion table.', 'status');
}