r74998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74997‎ | r74998 | r74999 >
Date:03:40, 19 October 2010
Author:nimishg
Status:deferred
Tags:
Comment:
added maxage for squids
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
@@ -113,7 +113,8 @@
114114 if ( $wgRequest->getText( '_cache_', false ) ) {
115115 $cache = true;
116116 $token = '';
117 - $token_match = false;
 117+ $token_match = false;
 118+ $wgOut->mSquidMaxage = 6000;
118119 } else {
119120 $cache = false;
120121
@@ -1187,4 +1188,4 @@
11881189 // Automatically post the form if the user has Javascript support
11891190 $wgOut->addHTML( '<script type="text/javascript">document.paypalredirect.submit();</script>' );
11901191 }
1191 -} // end class
\ No newline at end of file
 1192+} // end class

Status & tagging log