diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-13 19:06:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-13 19:06:32 +0000 |
commit | 69287245ca94f95cd1b0d04a512793812771f4a8 (patch) | |
tree | e442ec207c01037d0b0b257341744fa239400840 | |
parent | 31dbee5459b706738273d20d8315c31e0a6f6336 (diff) | |
download | brdo-69287245ca94f95cd1b0d04a512793812771f4a8.tar.gz brdo-69287245ca94f95cd1b0d04a512793812771f4a8.tar.bz2 |
- Patch #286374 by jhodgdon: fixed documentation of file_save_upload() validators.
-rw-r--r-- | includes/file.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/file.inc b/includes/file.inc index 98b671e70..75f2dc997 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -875,7 +875,7 @@ function file_space_used($uid = NULL, $status = FILE_STATUS_PERMANENT) { * A string specifying the name of the upload field to save. * @param $validators * An optional, associative array of callback functions used to validate the - * file. See @file_validate for a full discussion of the array format. + * file. See file_validate() for a full discussion of the array format. * @param $destination * A string containing the directory $source should be copied to. If this is * not provided or is not writable, the temporary directory will be used. @@ -1026,8 +1026,8 @@ function file_save_upload($source, $validators = array(), $destination = FALSE, * @param $validators * An optional, associative array of callback functions used to validate the * file. The keys are function names and the values arrays of callback - * parameters which will be passed in after the user and file objects. The - * functions should return an array of error messages, an empty array + * parameters which will be passed in after the file object. The + * functions should return an array of error messages; an empty array * indicates that the file passed validation. The functions will be called in * the order specified. * @return |