You are here

function captcha_modules_enabled in CAPTCHA 7

Implements hook_modules_enabled().

File

./captcha.module, line 896
This module enables basic CAPTCHA functionality: administrators can add a CAPTCHA to desired forms that users without the 'skip CAPTCHA' permission (typically anonymous visitors) have to solve.

Code

function captcha_modules_enabled() {

  // When new modules are enabled: clear the CAPTCHA placement cache, so that
  // new hook_captcha_placement_map hooks can be triggered.
  variable_del('captcha_placement_map_cache');
}