From: Alexandre Emsenhuber Date: Mon, 3 Jan 2011 17:12:27 +0000 (+0000) Subject: no need to set $this->mOldId, this is already done in getOldID() X-Git-Tag: 1.31.0-rc.0~32863 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=a2653cd21b00b4b7863a55eeb3c41fea08975fff;p=lhc%2Fweb%2Fwiklou.git no need to set $this->mOldId, this is already done in getOldID() --- diff --git a/includes/Article.php b/includes/Article.php index 506b7414a2..40310052e0 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -401,9 +401,7 @@ class Article { wfProfileIn( __METHOD__ ); - $oldid = $this->getOldID(); - $this->mOldId = $oldid; - $this->fetchContent( $oldid ); + $this->fetchContent( $this->getOldID() ); wfProfileOut( __METHOD__ ); }