diff options
Diffstat (limited to 'extensions/ConfirmEdit/MathCaptcha.class.php')
-rw-r--r-- | extensions/ConfirmEdit/MathCaptcha.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ConfirmEdit/MathCaptcha.class.php b/extensions/ConfirmEdit/MathCaptcha.class.php index fdb6d1ff..ac220baa 100644 --- a/extensions/ConfirmEdit/MathCaptcha.class.php +++ b/extensions/ConfirmEdit/MathCaptcha.class.php @@ -39,7 +39,7 @@ class MathCaptcha extends SimpleCaptcha { /** Fetch the math */ function fetchMath( $sum ) { - if ( MWInit::classExists( 'MathRenderer' ) ) { + if ( class_exists( 'MathRenderer' ) ) { $math = MathRenderer::getRenderer( $sum, array(), MW_MATH_PNG ); } else { throw new MWException( 'MathCaptcha requires the Math extension for MediaWiki versions 1.18 and above.' ); |