From: Ævar Arnfjörð Bjarmason Date: Sat, 23 Apr 2005 21:47:10 +0000 (+0000) Subject: * (bug 1754) Patch by Anders Wegge Jakobsen: Both Atom and RSS were using the X-Git-Tag: 1.5.0alpha1~166 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=9ac0b1cb9f24b68dc4b1e015fb30321ea4293091;p=lhc%2Fweb%2Fwiklou.git * (bug 1754) Patch by Anders Wegge Jakobsen: Both Atom and RSS were using the same objectcache timestamp, hence if one feed is pulled the other was marked as current as weel, this means that a substantial time could pass until the 'loosing' feed got updated. --- diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 5af35a4081..df836a91f6 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -215,7 +215,7 @@ function rcOutputFeed( $rows, $feedFormat, $limit, $hideminor, $lastmod ) { return false; } - $timekey = "$wgDBname:rcfeed:timestamp"; + $timekey = "$wgDBname:rcfeed:$feedFormat:timestamp"; $key = "$wgDBname:rcfeed:$feedFormat:limit:$limit:minor:$hideminor"; $feedTitle = $wgSitename . ' - ' . wfMsgForContent( 'recentchanges' ) .