function _cleantalk_get_checkjs_value in Anti Spam by CleanTalk 7
Same name and namespace in other branches
- 8 cleantalk.module \_cleantalk_get_checkjs_value()
- 7.2 cleantalk.module \_cleantalk_get_checkjs_value()
Cleantalk inner function - gets JavaScript checking value.
3 calls to _cleantalk_get_checkjs_value()
- cleantalk_boot in ./
cleantalk.module - Implements hook_boot()
- cleantalk_page_build in ./
cleantalk.module - _cleantalk_check_spam in ./
cleantalk.module - Cleantalk inner function - performs antispam checking.
File
- ./
cleantalk.module, line 1684 - Main CleanTalk integration module functions.
Code
function _cleantalk_get_checkjs_value() {
return md5(variable_get('cleantalk_authkey', '') . '+' . variable_get('site_mail', ini_get('sendmail_from')));
}