| Index: trunk/extensions/FlaggedRevs/presentation/FlaggedPageView.php |
| — | — | @@ -341,7 +341,7 @@ |
| 342 | 342 | // requesting the stable revision ("&stableid=x"), defer to override |
| 343 | 343 | // behavior below, since it is the same as ("&stable=1"). |
| 344 | 344 | if ( $old ) { |
| 345 | | - $this->showOldReviewedVersion( $srev, $frev, $tag, $prot ); |
| | 345 | + $this->showOldReviewedVersion( $frev, $tag, $prot ); |
| 346 | 346 | $outputDone = true; # Tell MW that parser output is done |
| 347 | 347 | $useParserCache = false; |
| 348 | 348 | // Stable version requested by ID or relevant conditions met to |
| — | — | @@ -546,9 +546,7 @@ |
| 547 | 547 | * Tag output function must be called by caller |
| 548 | 548 | * Parser cache control deferred to caller |
| 549 | 549 | */ |
| 550 | | - protected function showOldReviewedVersion( |
| 551 | | - FlaggedRevision $srev, FlaggedRevision $frev, &$tag, $prot |
| 552 | | - ) { |
| | 550 | + protected function showOldReviewedVersion( FlaggedRevision $frev, &$tag, $prot ) { |
| 553 | 551 | global $wgUser, $wgLang; |
| 554 | 552 | $this->load(); |
| 555 | 553 | $flags = $frev->getTags(); |