mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-11-28 01:20:10 +00:00
minor stylize
This commit is contained in:
parent
153cd40ef1
commit
fd95eaf9cf
8
RSS.php
8
RSS.php
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue