summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-03 09:02:37 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-03 09:02:37 +0000
commit3fb6f14a5a89ee3b57c9d78404eda43e6421eb81 (patch)
tree01bda20dd97270bc33002558247ae2109ca34109 /includes
parent80e26c14afef6991c11148f5411e98444afb7a43 (diff)
downloadbrdo-3fb6f14a5a89ee3b57c9d78404eda43e6421eb81.tar.gz
brdo-3fb6f14a5a89ee3b57c9d78404eda43e6421eb81.tar.bz2
#197267 by ufku: fix copy-pasted incorrect documentation on two file functions
Diffstat (limited to 'includes')
-rw-r--r--includes/file.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 40510783f..3768169e8 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -614,7 +614,7 @@ function file_validate_name_length($file) {
* @param $extensions
* A string with a space separated
* @return
- * An array. If the file name is too long, it will contain an error message.
+ * An array. If the file extension is not allowed, it will contain an error message.
*/
function file_validate_extensions($file, $extensions) {
global $user;
@@ -644,7 +644,7 @@ function file_validate_extensions($file, $extensions) {
* An integer specifying the maximum number of bytes the user is allowed. Zero
* indicates that no limit should be enforced.
* @return
- * An array. If the file name is too long, it will contain an error message.
+ * An array. If the file size exceeds limits, it will contain an error message.
*/
function file_validate_size($file, $file_limit = 0, $user_limit = 0) {
global $user;