r113623 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113622‎ | r113623 | r113624 >
Date:14:04, 12 March 2012
Author:ialex
Status:ok
Tags:
Comment:
Removed the remaining parts of "cookie password" stuff, does nothing and no longer used since ages
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -166,7 +166,7 @@
167167 var $mId, $mName, $mRealName, $mPassword, $mNewpassword, $mNewpassTime,
168168 $mEmail, $mTouched, $mToken, $mEmailAuthenticated,
169169 $mEmailToken, $mEmailTokenExpires, $mRegistration, $mGroups, $mOptionOverrides,
170 - $mCookiePassword, $mEditCount, $mAllowUsertalk;
 170+ $mEditCount, $mAllowUsertalk;
171171 //@}
172172
173173 /**
@@ -2051,16 +2051,6 @@
20522052 }
20532053
20542054 /**
2055 - * Set the cookie password
2056 - *
2057 - * @param $str String New cookie password
2058 - */
2059 - private function setCookiePassword( $str ) {
2060 - $this->load();
2061 - $this->mCookiePassword = md5( $str );
2062 - }
2063 -
2064 - /**
20652055 * Set the password for a password reminder or new account email
20662056 *
20672057 * @param $str String New password to set

Status & tagging log