Fixed "throw" statement

Change-Id: Ie1b15cc718efbbafc6885cb0282099661250c048
This commit is contained in:
Aaron Schulz 2015-05-23 09:51:06 -07:00
parent 042adb7f2a
commit daa1f05d40

2
ConfirmEdit.php Normal file → Executable file
View file

@ -34,7 +34,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
if ( !defined( 'MW_SUPPORTS_CONTENTHANDLER' ) ) {
throw Exception( 'This version of ConfirmEdit requires MediaWiki 1.21 or later' );
throw new Exception( 'This version of ConfirmEdit requires MediaWiki 1.21 or later' );
}
$wgExtensionCredits['antispam'][] = array(