r79888 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79887‎ | r79888 | r79889 >
Date:12:01, 9 January 2011
Author:ialex
Status:ok (Comments)
Tags:
Comment:
Kill Article::$mCurID, not set anywhere, not used anywhere (including extensions)
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -21,7 +21,6 @@
2222 var $mContent; // !<
2323 var $mContentLoaded = false; // !<
2424 var $mCounter = -1; // !< Not loaded
25 - var $mCurID = -1; // !< Not loaded
2625 var $mDataLoaded = false; // !<
2726 var $mForUpdate = false; // !<
2827 var $mGoodAdjustment = 0; // !<
@@ -224,7 +223,7 @@
225224 $this->mDataLoaded = false;
226225 $this->mContentLoaded = false;
227226
228 - $this->mCurID = $this->mUser = $this->mCounter = -1; # Not loaded
 227+ $this->mUser = $this->mCounter = -1; # Not loaded
229228 $this->mRedirectedFrom = null; # Title object if set
230229 $this->mRedirectTarget = null; # Title object if set
231230 $this->mUserText =

Comments

#Comment by Platonides (talk | contribs)   15:46, 9 January 2011

Seems a leftover from the cur table.

Status & tagging log