r85098 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85097‎ | r85098 | r85099 >
Date:23:02, 31 March 2011
Author:brion
Status:ok
Tags:
Comment:
Tweak doc comment per bug 28340
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -2629,9 +2629,9 @@
26302630 * Add a user to the database, return the user object
26312631 *
26322632 * @param $name String Username to add
2633 - * @param $params Array of Strings Non-default parameters to save to the database:
2634 - * - password The user's password. Password logins will be disabled if this is omitted.
2635 - * - newpassword A temporary password mailed to the user
 2633+ * @param $params Array of Strings Non-default parameters to save to the database as user_* fields:
 2634+ * - password The user's password hash. Password logins will be disabled if this is omitted.
 2635+ * - newpassword Hash for a temporary password that has been mailed to the user
26362636 * - email The user's email address
26372637 * - email_authenticated The email authentication timestamp
26382638 * - real_name The user's real name

Status & tagging log