no need to set $this->mOldId, this is already done in getOldID()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 3 Jan 2011 17:12:27 +0000 (17:12 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 3 Jan 2011 17:12:27 +0000 (17:12 +0000)
includes/Article.php

index 506b741..4031005 100644 (file)
@@ -401,9 +401,7 @@ class Article {
 
                wfProfileIn( __METHOD__ );
 
-               $oldid = $this->getOldID();
-               $this->mOldId = $oldid;
-               $this->fetchContent( $oldid );
+               $this->fetchContent( $this->getOldID() );
 
                wfProfileOut( __METHOD__ );
        }