MWException -> Exception

Change-Id: I897f33a014618467f7dbf0a11cd1bb4c7aee7520
This commit is contained in:
Ori Livneh 2015-01-09 17:57:41 -08:00
parent cae33ccb16
commit 972c0348cf

View file

@ -388,7 +388,7 @@ class PageImages {
$list = array_merge( $list, self::getUrlBlacklist( $source['url'] ) );
break;
default:
throw new MWException( __METHOD__ . "(): unrecognized image blacklist type '{$source['type']}'" );
throw new Exception( __METHOD__ . "(): unrecognized image blacklist type '{$source['type']}'" );
}
}
$list = array_flip( $list );