minor stylize

This commit is contained in:
Mark A. Hershberger 2010-11-01 21:03:22 +00:00
parent 153cd40ef1
commit fd95eaf9cf

View file

@ -227,12 +227,12 @@ class RSS {
function storeInCache( $key ) {
global $wgMemc, $wgRSSCacheAge;
if( !isset( $this->rss ) ) {
if ( !isset( $this->rss ) ) {
return false;
}
$wgMemc->set($key,
serialize( array($this->etag, $this->lastModified, $this->rss) ),
$wgRSSCacheAge);
$wgMemc->set( $key,
serialize( array( $this->etag, $this->lastModified, $this->rss ) ),
$wgRSSCacheAge );
wfDebugLog( 'RSS', "Stored '$key' in cache" );
return true;