You are here

function _cleantalk_get_checkjs_value in Anti Spam by CleanTalk 7.2

Same name and namespace in other branches
  1. 8 cleantalk.module \_cleantalk_get_checkjs_value()
  2. 7 cleantalk.module \_cleantalk_get_checkjs_value()

Cleantalk inner function - gets JavaScript checking value.

3 calls to _cleantalk_get_checkjs_value()
cleantalk_init in ./cleantalk.module
Implements hook_init()
cleantalk_page_build in ./cleantalk.module
_cleantalk_check_spam in ./cleantalk.module
Cleantalk inner function - performs antispam checking.

File

./cleantalk.module, line 1908
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')));
}