r82883 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82882‎ | r82883 | r82884 >
Date:07:43, 27 February 2011
Author:aaron
Status:deferred
Tags:
Comment:
Fix for r81871: pass $flags too loadStableRevAndConfig()
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -296,7 +296,7 @@
297297 public function getStableRev( $flags = 0 ) {
298298 # Cached results available?
299299 if ( $this->stableRev === null || ( $flags & FR_MASTER ) ) {
300 - $this->loadStableRevAndConfig();
 300+ $this->loadStableRevAndConfig( $flags );
301301 }
302302 if ( $this->stableRev ) {
303303 return $this->stableRev;
@@ -313,7 +313,7 @@
314314 if ( !( $flags & FR_MASTER ) && $this->pageConfig !== null ) {
315315 return $this->pageConfig; // use process cache
316316 }
317 - $this->loadStableRevAndConfig();
 317+ $this->loadStableRevAndConfig( $flags);
318318 return $this->pageConfig;
319319 }
320320

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81871* Refactored and cleaned up getPageStabilitySettings()...aaron02:43, 10 February 2011

Status & tagging log