From: Brion Vibber Date: Thu, 31 Mar 2011 23:02:38 +0000 (+0000) Subject: Tweak doc comment per bug 28340 X-Git-Tag: 1.31.0-rc.0~31105 X-Git-Url: http://git.cyclocoop.org/%27-%20%20.%20url_absolue%28find_in_path%28%27spip_style.css%27%29%29%20%20%20.%20url_absolue%28find_in_path%28%27prive/spip_style.css%27%29%29%20.%20%27?a=commitdiff_plain;h=c76698c16cd24a342d94df1b6bec1a81412f2e51;p=lhc%2Fweb%2Fwiklou.git Tweak doc comment per bug 28340 --- 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