jenkins-bot has submitted this change and it was merged. Change subject: Replace passCaptcha with passCaptchaFromRequest ......................................................................
Replace passCaptcha with passCaptchaFromRequest See I47b2e2fbe3e063cd86e8a2d6bc17ca939472dbe1. Bug: T135477 Change-Id: I14cf152e2c4f648988677fec013a81472114eab7 --- M SpecialContactFundraiser.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: BryanDavis: Looks good to me, approved jenkins-bot: Verified diff --git a/SpecialContactFundraiser.php b/SpecialContactFundraiser.php index cab6d47..a88a596 100644 --- a/SpecialContactFundraiser.php +++ b/SpecialContactFundraiser.php @@ -251,10 +251,10 @@ } function passCaptcha() { - global $wgCaptcha; + global $wgCaptcha, $wgRequest, $wgUser; if ( !$this->useCaptcha() ) return true; - return $wgCaptcha->passCaptcha(); + return $wgCaptcha->passCaptchaFromRequest( $wgRequest, $wgUser ); } function doSubmit( ) { -- To view, visit https://gerrit.wikimedia.org/r/289263 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I14cf152e2c4f648988677fec013a81472114eab7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContactPageFundraiser Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: Gergő Tisza <gti...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits