Skip to content

Commit

Permalink
File BUGS is deleted.
Browse files Browse the repository at this point in the history
According to "git blame BUGS" all these bug reports are more than 10 years old.
  • Loading branch information
AlexDaniel committed Jul 14, 2015
1 parent 2c82301 commit a5ecd94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
16 changes: 0 additions & 16 deletions BUGS

This file was deleted.

4 changes: 2 additions & 2 deletions modules/recaptcha.pl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ sub ReCaptchaGetQuestion {
# if (defined $ReCaptchaTheme) { $recaptcha_options{theme} = $ReCaptchaTheme; }
# if (defined $ReCaptchaTabIndex) { $recaptcha_options{tabindex} = $ReCaptchaTabIndex; }

eval "use Captcha::reCAPTCHA";
eval { use Captcha::reCAPTCHA };
my $captcha_html = Captcha::reCAPTCHA->new()->get_html(
$ReCaptchaPublicKey, undef, $ENV{'HTTPS'} eq 'on', undef);
my $submit_html = $need_button ? $q->submit(-value=> T('Go!')) : '';
Expand Down Expand Up @@ -249,7 +249,7 @@ sub NewReCaptchaDoPost {
}

sub ReCaptchaCheckAnswer {
eval "use Captcha::reCAPTCHA";
eval { use Captcha::reCAPTCHA };
my $result = Captcha::reCAPTCHA->new()->check_answer(
$ReCaptchaPrivateKey,
GetRemoteHost(),
Expand Down

0 comments on commit a5ecd94

Please sign in to comment.