/* Patches */ adjust to mediawiki head 3
This commit is contained in:
parent
d72cfd17e5
commit
4684c0de66
|
@ -42,14 +42,13 @@ Index: includes/ChangesFeed.php
|
|||
===================================================================
|
||||
--- includes/ChangesFeed.php (revision 43703)
|
||||
+++ includes/ChangesFeed.php (working copy)
|
||||
@@ -47,7 +47,9 @@
|
||||
@@ -47,7 +47,8 @@
|
||||
self::generateFeed( $rows, $feed );
|
||||
$cachedFeed = ob_get_contents();
|
||||
ob_end_flush();
|
||||
- $this->saveToCache( $cachedFeed, $timekey, $key );
|
||||
+ if ( $wgFeedCacheTimeout > 0 ) {
|
||||
+ if ( $wgFeedCacheTimeout > 0 )
|
||||
+ $this->saveToCache( $cachedFeed, $timekey, $key );
|
||||
+ }
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue