https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102042

Revision: 102042
Author:   khorn
Date:     2011-11-04 20:29:28 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Live bugfix to deployment, so we can redirect to the generic fail page on a 
globalcollect transaction gone wrong. 

Modified Paths:
--------------
    
branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php

Modified: 
branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
===================================================================
--- 
branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
      2011-11-04 20:27:23 UTC (rev 102041)
+++ 
branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php
      2011-11-04 20:29:28 UTC (rev 102042)
@@ -105,10 +105,10 @@
                global $wgOut;
                
                $displayData = $this->adapter->getDisplayData();
-               $failpage = $this->adapter->getGlobal( 'FailPage' );
+               $failpage = $this->adapter->getFailPage();
 
                if ( $failpage ) {
-                       $wgOut->redirect( $failpage . "/" . 
$displayData['language'] );
+                       return $failpage;
                } else {
                        // Get the page we're going to send them back to.
                        $referrer = $displayData['referrer'];


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to