diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-12 08:35:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-12 08:35:39 +0000 |
commit | acf9368d9873602ea4275793123a27f77c4d3433 (patch) | |
tree | 339135392513d7a409e906110e86487181019718 /modules | |
parent | 47653eae18f8ee69194438cdba0bd0baaffcf6c8 (diff) | |
download | brdo-acf9368d9873602ea4275793123a27f77c4d3433.tar.gz brdo-acf9368d9873602ea4275793123a27f77c4d3433.tar.bz2 |
- Patch #764428 by aaronmontana: user_validate_picture() is undocumented; user_account_form() validation functions missing @see links.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/user.module | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index e92ce8973..703ad19ce 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -607,6 +607,11 @@ function user_validate_mail($mail) { } } +/** + * Validates an image uploaded by a user. + * + * @see user_account_form() + */ function user_validate_picture(&$form, &$form_state) { // If required, validate the uploaded picture. $validators = array( @@ -915,6 +920,11 @@ function user_user_view($account) { /** * Helper function to add default user account fields to user registration and edit form. + * + * @see user_account_form_validate() + * @see user_validate_current_pass() + * @see user_validate_picture() + * @see user_validate_email() */ function user_account_form(&$form, &$form_state) { global $user; @@ -1088,6 +1098,8 @@ function user_account_form(&$form, &$form_state) { /** * Form validation handler for the current password on the user_account_form(). + * + * @see user_account_form() */ function user_validate_current_pass(&$form, &$form_state) { global $user; @@ -1112,6 +1124,8 @@ function user_validate_current_pass(&$form, &$form_state) { /** * Form validation handler for user_account_form(). + * + * @see user_account_form() */ function user_account_form_validate($form, &$form_state) { if ($form['#user_category'] == 'account' || $form['#user_category'] == 'register') { |