function top_searches_admin_form_validate in Top Searches 7
Same name and namespace in other branches
- 6 top_searches.admin.inc \top_searches_admin_form_validate()
File
- ./
top_searches.admin.inc, line 47 - Admin options for top_searches module
Code
function top_searches_admin_form_validate($form, &$form_state) {
// In case we need to clear the DB table, redirect:
if ($form_state['values']['op'] == t('Reset search counters')) {
drupal_goto('admin/config/search/top_searches/clear');
}
}