From b090fc1a2146ab0bc07521619c677dd6879de486 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Tue, 16 May 2006 02:13:44 +0000 Subject: =?UTF-8?q?#49403=20by=20B=C3=A8r=20and=20jvandyk,=20improve=20doc?= =?UTF-8?q?umentation=20for=20user=5Fsave.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user.module | 5 +++-- modules/user/user.module | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/user.module b/modules/user.module index 28df629d7..6406a826e 100644 --- a/modules/user.module +++ b/modules/user.module @@ -88,10 +88,11 @@ function user_load($array = array()) { } /** - * Save changes to a user account. + * Save changes to a user account or add a new user. * * @param $account - * The $user object for the user to modify. + * The $user object for the user to modify or add. If $user->uid is + * omitted, a new user will be added. * * @param $array * An array of fields and values to save. For example array('name' => 'My name'); diff --git a/modules/user/user.module b/modules/user/user.module index 28df629d7..6406a826e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -88,10 +88,11 @@ function user_load($array = array()) { } /** - * Save changes to a user account. + * Save changes to a user account or add a new user. * * @param $account - * The $user object for the user to modify. + * The $user object for the user to modify or add. If $user->uid is + * omitted, a new user will be added. * * @param $array * An array of fields and values to save. For example array('name' => 'My name'); -- cgit v1.2.3