MediaWiki r8668 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r8667‎ | r8668 (on ViewVC)‎ | r8669 >
Date:10:52, 27 April 2005
Author:gabrielwicke
Status:old
Tags:
Comment:
keep caching enabled..
Modified paths:

Diff [purge]

Index: trunk/extensions/catfeed/catfeed.php
@@ -151,11 +151,11 @@
152152 wfDebug( "CatFeed: cached feed timestamp check failed ($feedLastmod; $this->mMaxTimeStamp)\n" );
153153 }
154154 }
155 - /*if( is_string( $cachedFeed ) ) {
 155+ if( is_string( $cachedFeed ) ) {
156156 wfDebug( "CatFeed: Outputting cached feed\n" );
157157 $feed->httpHeaders();
158158 echo $cachedFeed;
159 - } else {*/
 159+ } else {
160160 wfDebug( "CatFeed: rendering new feed and caching it\n" );
161161 ob_start();
162162 $this->catDoOutputFeed( $rows, $feed );
@@ -165,7 +165,7 @@
166166 $expire = 3600 * 24; # One day
167167 $messageMemc->set( $key, $cachedFeed );
168168 $messageMemc->set( $timekey, wfTimestamp( TS_MW ), $expire );
169 - # }
 169+ }
170170 return true;
171171 }
172172

Status & tagging log

  • 15:03, 12 September 2011 Meno25 (Talk | contribs) changed the status of r8668 [removed: ok added: old]
  • 14:06, 1 July 2009 ^demon (Talk | contribs) changed the status of r8668 [removed: new added: ok]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox