Ori.livneh has uploaded a new change for review.

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

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

MWException -> Exception

Change-Id: Icfc980201e743bddbbcafdd42132d8531ee3c62c
---
M ContributionTracking.alias.php
M ContributionTracking.processor.php
M special/SpecialFundraiserMaintenance.php
3 files changed, 4 insertions(+), 4 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContributionTracking 
refs/changes/49/184049/1

diff --git a/ContributionTracking.alias.php b/ContributionTracking.alias.php
index a688bbf..455bdfb 100644
--- a/ContributionTracking.alias.php
+++ b/ContributionTracking.alias.php
@@ -212,4 +212,4 @@
 $specialPageAliases['zh-hant'] = array(
        'ContributionTracking' => array( '追蹤貢獻' ),
        'FundraiserMaintenance' => array( '募捐維護' ),
-);
\ No newline at end of file
+);
diff --git a/ContributionTracking.processor.php 
b/ContributionTracking.processor.php
index e475462..8140d97 100644
--- a/ContributionTracking.processor.php
+++ b/ContributionTracking.processor.php
@@ -230,7 +230,7 @@
         * Takes staged transaction data, and constructs the key/value pairs
         * formatted to be reposted to the gateway specified in 
$input['gateway']
         * @param array $input The staged data to repost to a gateway.
-        * @throws MWException
+        * @throws Exception
         * @global string $wgContributionTrackingPayPalBusiness 'Business' 
string
         * for PayPal: Defined in ContributionTracking.php
         * @global string $wgContributionTrackingReturnToURLDefault Default URL 
to
@@ -342,7 +342,7 @@
                        $repost['fields']['detail1_text'] = 'DONATE';
                        $repost['fields']['currency'] = $input['currency_code'];
                } else {
-                       throw new MWException( "Unknown payment gateway!" );
+                       throw new Exception( "Unknown payment gateway!" );
                }
 
                // Normalized amount
diff --git a/special/SpecialFundraiserMaintenance.php 
b/special/SpecialFundraiserMaintenance.php
index 2b04c9a..52610a1 100644
--- a/special/SpecialFundraiserMaintenance.php
+++ b/special/SpecialFundraiserMaintenance.php
@@ -49,4 +49,4 @@
 
 
        }
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icfc980201e743bddbbcafdd42132d8531ee3c62c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContributionTracking
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