Index: trunk/phase3/includes/User.php |
— | — | @@ -2629,9 +2629,9 @@ |
2630 | 2630 | * Add a user to the database, return the user object |
2631 | 2631 | * |
2632 | 2632 | * @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 |
2636 | 2636 | * - email The user's email address |
2637 | 2637 | * - email_authenticated The email authentication timestamp |
2638 | 2638 | * - real_name The user's real name |