You are here

function antispam_is_anti_spambot_enabled in AntiSpam 6

Same name and namespace in other branches
  1. 7 antispam.module \antispam_is_anti_spambot_enabled()

Check if anti-spambot options are enabled.

Return value

boolean TRUE if enabled; FALSE otherwise.

1 call to antispam_is_anti_spambot_enabled()
antispam_form_alter in ./antispam.module
Implementation of hook_form_alter().

File

./antispam.module, line 1087

Code

function antispam_is_anti_spambot_enabled() {
  $antispambot_rules = antispam_get_anti_spambot_rules();
  return count($antispambot_rules) > 0 ? TRUE : FALSE;
}