r110576 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110575‎ | r110576 | r110577 >
Date:15:16, 2 February 2012
Author:maxsem
Status:ok
Tags:miscextensions 
Comment:
Follow-up r110170: proper check for cachedness
Modified paths:
  • /trunk/extensions/FeaturedFeeds/FeaturedFeeds.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FeaturedFeeds/FeaturedFeeds.body.php
@@ -47,7 +47,7 @@
4848 private static function getFeedDefinitions() {
4949 global $wgFeaturedFeeds, $wgFeaturedFeedsDefaults;
5050 static $feedDefs = false;
51 - if ( !$feedDefs ) {
 51+ if ( $feedDefs === false ) {
5252 $feedDefs = $wgFeaturedFeeds;
5353 wfRunHooks( 'FeaturedFeeds::getFeeds', array( &$feedDefs ) );
5454

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110170Don't fragment cache if feeds aren't multilingual anywaymaxsem21:14, 27 January 2012

Status & tagging log