r79646 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79645‎ | r79646 | r79647 >
Date:15:02, 5 January 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed change of $wgArticle, no effect since ImagePage's constructor has no second parameter since r35222.
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -773,7 +773,7 @@
774774 * Depends on $wgRequest
775775 */
776776 public function imagePageFindFile( &$normalFile, &$displayFile ) {
777 - global $wgRequest, $wgArticle;
 777+ global $wgRequest;
778778 $this->load();
779779 # Determine timestamp. A reviewed version may have explicitly been requested...
780780 $frev = null;
@@ -799,8 +799,6 @@
800800 $time = trim( $time ); // remove garbage
801801 $time = $time ? wfTimestamp( TS_MW, $time ) : false;
802802 }
803 - # NOTE: if not found, this will use the current
804 - $wgArticle = new ImagePage( $this->article->getTitle(), $time );
805803 }
806804 if ( !$time ) {
807805 # Try request parameter

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r35222In FlaggedRevs:...tstarling09:03, 23 May 2008

Status & tagging log