function drush_autoban_ban_all in Automatic IP ban (Autoban) 7
Drush command logic. drush_[COMMAND_NAME]().
File
- ./
autoban.drush.inc, line 26 - Drush support for autoban module.
Code
function drush_autoban_ban_all() {
$count = autoban_ban_all();
$message = $count ? dt('Autoban: IP ban count=@count', array(
'@count' => $count,
)) : dt('Autoban: no IP banned');
drush_print($message);
}