r81234 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81233‎ | r81234 | r81235 >
Date:06:00, 31 January 2011
Author:yaron
Status:deferred
Tags:
Comment:
Fixed errors
Modified paths:
  • /trunk/extensions/ConfirmEdit/ReCaptcha.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmEdit/ReCaptcha.php
@@ -25,6 +25,7 @@
2626 $recaptcha_public_key = '';
2727 $recaptcha_private_key = '';
2828
 29+$wgExtensionFunctions[] = 'efReCaptcha';
2930
3031 /**
3132 * Make sure the keys are defined.
@@ -35,7 +36,7 @@
3637 global $wgServerName;
3738
3839 // Backwards compatibility
39 - $wgReCaptchaPublicKey == '' ) {
 40+ if ( $wgReCaptchaPublicKey == '' ) {
4041 $wgReCaptchaPublicKey = $recaptcha_public_key;
4142 }
4243 if ( $wgReCaptchaPrivateKey == '' ) {

Status & tagging log