r79513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79512‎ | r79513 | r79514 >
Date:17:12, 3 January 2011
Author:ialex
Status:ok
Tags:
Comment:
no need to set $this->mOldId, this is already done in getOldID()
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -401,9 +401,7 @@
402402
403403 wfProfileIn( __METHOD__ );
404404
405 - $oldid = $this->getOldID();
406 - $this->mOldId = $oldid;
407 - $this->fetchContent( $oldid );
 405+ $this->fetchContent( $this->getOldID() );
408406
409407 wfProfileOut( __METHOD__ );
410408 }

Status & tagging log