Southparkfan has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246209
Change subject: ReCaptchaNoCaptcha: Fix undefined function call to
logStatusError()
......................................................................
ReCaptchaNoCaptcha: Fix undefined function call to logStatusError()
It seems that logCheckError() works fine for logging errors, so I changed any
logStatusError() calls into logCheckError() ones.
Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a
---
M ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.class.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmEdit
refs/changes/09/246209/1
diff --git a/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.class.php
b/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.class.php
index 4140b24..bf92f70 100644
--- a/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.class.php
+++ b/ReCaptchaNoCaptcha/ReCaptchaNoCaptcha.class.php
@@ -85,13 +85,13 @@
$status = $request->execute();
if ( !$status->isOK() ) {
$this->error = 'http';
- $this->logStatusError( $status );
+ $this->logCheckError( $status );
return false;
}
$response = FormatJson::decode( $request->getContent(), true );
if ( !$response ) {
$this->error = 'json';
- $this->logStatusError( $this->error );
+ $this->logCheckError( $this->error );
return false;
}
if ( isset( $response['error-codes'] ) ) {
--
To view, visit https://gerrit.wikimedia.org/r/246209
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Southparkfan <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits