PHP 4 / MW 1.6 compat

This commit is contained in:
Brion Vibber 2007-02-19 22:26:06 +00:00
parent 04cb9b5eb6
commit 985ccb6608

View file

@ -160,7 +160,7 @@ function wfSpecialCaptcha( $par = null ) {
}
class SimpleCaptcha {
function __construct() {
function SimpleCaptcha() {
global $wgCaptchaStorageClass;
$this->storage = new $wgCaptchaStorageClass;
}