summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module5
1 files changed, 3 insertions, 2 deletions
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');