From c76698c16cd24a342d94df1b6bec1a81412f2e51 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 31 Mar 2011 23:02:38 +0000 Subject: [PATCH] Tweak doc comment per bug 28340 --- includes/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/User.php b/includes/User.php index 996a02c92a..06515cf72d 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2629,9 +2629,9 @@ class User { * Add a user to the database, return the user object * * @param $name String Username to add - * @param $params Array of Strings Non-default parameters to save to the database: - * - password The user's password. Password logins will be disabled if this is omitted. - * - newpassword A temporary password mailed to the user + * @param $params Array of Strings Non-default parameters to save to the database as user_* fields: + * - password The user's password hash. Password logins will be disabled if this is omitted. + * - newpassword Hash for a temporary password that has been mailed to the user * - email The user's email address * - email_authenticated The email authentication timestamp * - real_name The user's real name -- 2.20.1