diff --git a/modules/user.module b/modules/user.module index 28df629d76594f28ce395e8c4348c403c45aa240..6406a826e674144388a8cf99a67041424bea50f6 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 28df629d76594f28ce395e8c4348c403c45aa240..6406a826e674144388a8cf99a67041424bea50f6 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');