You are here

function botcha_get_captcha_point in BOTCHA Spam Prevention 6

Same name and namespace in other branches
  1. 7 botcha.inc \botcha_get_captcha_point()
1 call to botcha_get_captcha_point()
botcha_form_alter in ./botcha.module
Implementation of hook_form_alter().

File

./botcha.inc, line 12
General BOTCHA functionality and helper functions.

Code

function botcha_get_captcha_point($form_id, $symbolic = FALSE) {
  if (!function_exists('captcha_get_form_id_setting')) {
    module_load_include('inc', 'captcha');
  }

  // FIXME: implement failsafe here (if Captcha internals change...)
  return captcha_get_form_id_setting($form_id, $symbolic);
}