Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -773,7 +773,7 @@ |
774 | 774 | * Depends on $wgRequest |
775 | 775 | */ |
776 | 776 | public function imagePageFindFile( &$normalFile, &$displayFile ) { |
777 | | - global $wgRequest, $wgArticle; |
| 777 | + global $wgRequest; |
778 | 778 | $this->load(); |
779 | 779 | # Determine timestamp. A reviewed version may have explicitly been requested... |
780 | 780 | $frev = null; |
— | — | @@ -799,8 +799,6 @@ |
800 | 800 | $time = trim( $time ); // remove garbage |
801 | 801 | $time = $time ? wfTimestamp( TS_MW, $time ) : false; |
802 | 802 | } |
803 | | - # NOTE: if not found, this will use the current |
804 | | - $wgArticle = new ImagePage( $this->article->getTitle(), $time ); |
805 | 803 | } |
806 | 804 | if ( !$time ) { |
807 | 805 | # Try request parameter |