MWException -> Exception

Change-Id: Icd77d1168c007b2d101bfd7e458a7bf1a794e2cb
This commit is contained in:
Ori Livneh 2015-01-09 19:02:19 -08:00
parent 63d2f0f1c4
commit 3f33253077

View file

@ -14,14 +14,14 @@ class RelatedArticles {
}
/**
* @throws MWException
* @throws Exception
* @return CustomData
*/
public function getCustomData() {
global $wgCustomData;
if ( !$wgCustomData instanceof CustomData ) {
throw new MWException( 'CustomData extension is not properly installed.' );
throw new Exception( 'CustomData extension is not properly installed.' );
}
return $wgCustomData;