Skip to content

Commit

Permalink
Reverted core code change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caffe1neAdd1ct committed Sep 16, 2015
1 parent 8064b5b commit 4017ac6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions inc/Zend/Service/ReCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,8 @@ protected function _post($challengeField, $responseField)
*/
public function verify($challengeField, $responseField)
{
$rawResponse = $this->_post($challengeField, $responseField);
$response = new Zend_Service_ReCaptcha_Response(null, null, $rawResponse);
$response = $this->_post($challengeField, $responseField);

return $response->isValid();
return new Zend_Service_ReCaptcha_Response(null, null, $response);
}
}

0 comments on commit 4017ac6

Please sign in to comment.