r60444 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60443‎ | r60444 | r60445 >
Date:13:24, 28 December 2009
Author:demon
Status:ok
Tags:
Comment:
Cleanup r60050, use string 'language' instead of constant language.
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -260,7 +260,7 @@
261261
262262 // intro text
263263 if ( $wgWikipediaForeverTheme ) {
264 - $wgOut->addWikiText( '{{2009/Donate-header/' . $data[language] . '}}' );
 264+ $wgOut->addWikiText( '{{2009/Donate-header/' . $data['language'] . '}}' );
265265 }
266266
267267 $form = Xml::openElement( 'div', array( 'id' => 'mw-creditcard' ) ) .
@@ -781,7 +781,7 @@
782782 wfRunHooks( 'gwStomp', array( &$transaction ) );
783783
784784 if ( $wgExternalThankYouPage ) {
785 - $wgOut->redirect( $wgExternalThankYouPage . "/" . $data[language] );
 785+ $wgOut->redirect( $wgExternalThankYouPage . "/" . $data['language'] );
786786 } else {
787787 // display response message
788788 $wgOut->addHTML( '<h3 class="response_message">' . $responseMsg . '</h3>' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r60482Sync'ing to latest rev from trunk. Picking up updated link for donor privacy ...tomasz19:45, 29 December 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60050Adding external thank you page. Removing duplicate optout setting. Increasing...tomasz22:47, 14 December 2009

Status & tagging log