https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113752
Revision: 113752
Author: preilly
Date: 2012-03-13 19:26:10 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
1.19wmf: MFT r113751
Modified Paths:
--------------
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
Modified:
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
===================================================================
---
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
2012-03-13 19:25:34 UTC (rev 113751)
+++
branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
2012-03-13 19:26:10 UTC (rev 113752)
@@ -520,8 +520,8 @@
$rev = null;
if ( $pageName ) {
-
- $memcKey = wfMemcKey(
'zero-rated-mobile-access-foreign-options-', md5( $pageName ) );
+ $day = date( 'Ymd' );
+ $memcKey = wfMemcKey(
'zero-rated-mobile-access-foreign-options-', md5( $pageName ), $day );
$foreignOptions = $wgMemc->get( $memcKey );
if ( !$foreignOptions ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs