You are here

function recaptcha_update_7100 in reCAPTCHA 7

Issue #2473329: Remove obsolete variables.

File

./recaptcha.install, line 26
Provides install, updated, and uninstall functions for recaptcha.

Code

function recaptcha_update_7100() {
  $variables = array(
    'recaptcha_secure_connection',
    'recaptcha_api_server',
    'recaptcha_api_secure_server',
    'recaptcha_verify_server',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
  return t('Removed obsolete variables.');
}