You are here

function flood_report_clear in Util 7

Clear the Flood table.

2 string references to 'flood_report_clear'
flood_report_menu in contribs/flood_report/flood_report.module
Implements hook_menu().
flood_report_report in contribs/flood_report/flood_report.module
Menu callback. Report on flood table contents.

File

contribs/flood_report/flood_report.module, line 69
Display what's in the Flood table.

Code

function flood_report_clear() {
  $num = db_delete('flood')
    ->execute();
  drupal_set_message(t('Deleted !num rows from the Flood table.', array(
    '!num' => $num,
  )));
  drupal_goto();
}