Skip to content

Commit

Permalink
tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil E. Taylor committed Jul 4, 2018
1 parent 9d9526c commit 62abdf2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/captcha/recaptcha/recaptcha.php
Expand Up @@ -47,7 +47,7 @@ public function onInit($id = 'dynamic_recaptcha_1')

if ($this->params->get('version', '1.0') === '1.0')
{
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
return true;
}
else
Expand Down Expand Up @@ -78,7 +78,7 @@ public function onDisplay($name = null, $id = 'dynamic_recaptcha_1', $class = ''
{
if ($this->params->get('version', '1.0') === '1.0')
{
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
return '';
}
else
Expand Down Expand Up @@ -110,7 +110,7 @@ public function onCheckAnswer($code = null)
switch ($version)
{
case '1.0':
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
return true;
break;
case '2.0':
Expand Down Expand Up @@ -166,8 +166,8 @@ private function getResponse($privatekey, $remoteip, $response, $challenge = nul

switch ($version)
{
case '1.0':
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
case '1.0':
// Deprecated - @see https://developers.google.com/recaptcha/docs/faq#what-happens-to-recaptcha-v1
return true;
break;
case '2.0':
Expand Down

0 comments on commit 62abdf2

Please sign in to comment.