function recaptcha_update_7201 in reCAPTCHA 7.2
Default empty tabindex to 0.
File
- ./
recaptcha.install, line 85 - Installation file for reCAPTCHA module.
Code
function recaptcha_update_7201() {
// Change an empty tabindex to value 0 for consistency with D8.
$recaptcha_tabindex = variable_get('recaptcha_tabindex', '');
if ($recaptcha_tabindex == '') {
variable_set('recaptcha_tabindex', 0);
}
return t('Empty tabindex has been upgraded to 0.');
}