mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
PHP 4 / MW 1.6 compat
This commit is contained in:
parent
04cb9b5eb6
commit
985ccb6608
|
@ -160,7 +160,7 @@ function wfSpecialCaptcha( $par = null ) {
|
|||
}
|
||||
|
||||
class SimpleCaptcha {
|
||||
function __construct() {
|
||||
function SimpleCaptcha() {
|
||||
global $wgCaptchaStorageClass;
|
||||
$this->storage = new $wgCaptchaStorageClass;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue