Ori.livneh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/184094

Change subject: MWException -> Exception
......................................................................

MWException -> Exception

Change-Id: Ia4759680b4a7bfc41fd47dd0c083f8825907ff02
---
M SpecialPetition.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Petition 
refs/changes/94/184094/1

diff --git a/SpecialPetition.php b/SpecialPetition.php
index 616f7c0..1870184 100644
--- a/SpecialPetition.php
+++ b/SpecialPetition.php
@@ -149,7 +149,7 @@
                        $countries = array_flip( CountryNames::getNames( 
$language ) );
                        ksort($countries);
                } else {
-                       throw new MWException( 'Petition requires 
Extension:CLDR to be installed.' );
+                       throw new Exception( 'Petition requires Extension:CLDR 
to be installed.' );
                }
 
                return $countries;

-- 
To view, visit https://gerrit.wikimedia.org/r/184094
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4759680b4a7bfc41fd47dd0c083f8825907ff02
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Petition
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to