From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- extensions/ConfirmEdit/MathCaptcha.php | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'extensions/ConfirmEdit/MathCaptcha.php') diff --git a/extensions/ConfirmEdit/MathCaptcha.php b/extensions/ConfirmEdit/MathCaptcha.php index d1eb44ef..dd34d53e 100644 --- a/extensions/ConfirmEdit/MathCaptcha.php +++ b/extensions/ConfirmEdit/MathCaptcha.php @@ -1,22 +1,2 @@ - * @copyright © 2006 Rob Church - * @licence GNU General Public Licence 2.0 - */ - -if ( !defined( 'MEDIAWIKI' ) ) { - exit; -} - -$dir = __DIR__; -require_once $dir . '/ConfirmEdit.php'; -$wgCaptchaClass = 'MathCaptcha'; - -$wgAutoloadClasses['MathCaptcha'] = $dir . '/MathCaptcha.class.php'; +require_once __DIR__ . "/MathCaptcha/MathCaptcha.php"; -- cgit v1.2.3-54-g00ecf