Index: trunk/extensions/ConfirmEdit/CaptchaStore.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | public final static function get() { |
44 | 44 | if( !self::$instance instanceof self ){ |
45 | 45 | global $wgCaptchaStorageClass; |
46 | | - if( in_array( 'CaptchaStore', class_implements( $wgCaptchaStorageClass ) ) ) { |
| 46 | + if( in_array( 'CaptchaStore', class_parents( $wgCaptchaStorageClass ) ) ) { |
47 | 47 | self::$instance = new $wgCaptchaStorageClass; |
48 | 48 | } else { |
49 | 49 | throw new MWException( "Invalid CaptchaStore class $wgCaptchaStorageClass" ); |