From c4372dd38a4d109b4f3881ea63b667e33adbe503 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 26 Apr 2012 18:23:31 +0200 Subject: Update to MediaWiki 1.18.3 --- extensions/ConfirmEdit/CaptchaStore.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/ConfirmEdit/CaptchaStore.php') diff --git a/extensions/ConfirmEdit/CaptchaStore.php b/extensions/ConfirmEdit/CaptchaStore.php index 7b29e448..3ab00b38 100644 --- a/extensions/ConfirmEdit/CaptchaStore.php +++ b/extensions/ConfirmEdit/CaptchaStore.php @@ -40,9 +40,9 @@ abstract class CaptchaStore { * @return CaptchaStore */ public final static function get() { - if( !self::$instance instanceof self ){ + if ( !self::$instance instanceof self ) { global $wgCaptchaStorageClass; - if( in_array( 'CaptchaStore', class_parents( $wgCaptchaStorageClass ) ) ) { + if ( in_array( 'CaptchaStore', class_parents( $wgCaptchaStorageClass ) ) ) { self::$instance = new $wgCaptchaStorageClass; } else { throw new MWException( "Invalid CaptchaStore class $wgCaptchaStorageClass" ); @@ -54,7 +54,7 @@ abstract class CaptchaStore { /** * Protected constructor: no creating instances except through the factory method above */ - protected function __construct(){} + protected function __construct() {} } class CaptchaSessionStore extends CaptchaStore { -- cgit v1.2.2