diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-04-26 18:23:31 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-04-26 18:23:31 +0200 |
commit | c4372dd38a4d109b4f3881ea63b667e33adbe503 (patch) | |
tree | e8e6dae1229a68c26b7a348c73dc0c8c77da97e5 /extensions/ConfirmEdit/CaptchaStore.php | |
parent | cf566324cfb218f0c7323d97d2a103bbb8d60ba4 (diff) |
Update to MediaWiki 1.18.3
Diffstat (limited to 'extensions/ConfirmEdit/CaptchaStore.php')
-rw-r--r-- | extensions/ConfirmEdit/CaptchaStore.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |