function antispam_is_anti_spambot_enabled in AntiSpam 7
Same name and namespace in other branches
- 6 antispam.module \antispam_is_anti_spambot_enabled()
Check if anti-spambot options are enabled.
Return value
boolean
File
- ./
antispam.module, line 1134 - Primary hook implementations for the Antispam module.
Code
function antispam_is_anti_spambot_enabled() {
$antispambot_rules = antispam_get_anti_spambot_rules();
return count($antispambot_rules) > 0 ? TRUE : FALSE;
}