mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-15 12:00:40 +00:00
MWException -> Exception
Change-Id: I897f33a014618467f7dbf0a11cd1bb4c7aee7520
This commit is contained in:
parent
cae33ccb16
commit
972c0348cf
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue