diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-10 04:08:20 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-10 04:08:20 +0000 |
commit | 731126f4997ddc3e018e8a78822aa628b757bd3a (patch) | |
tree | d329be6cf7ead0b14e3383b5f75437ea7d053dc5 | |
parent | 0f3761b99d15c41907ab32a8a398840c14e871c4 (diff) | |
download | brdo-731126f4997ddc3e018e8a78822aa628b757bd3a.tar.gz brdo-731126f4997ddc3e018e8a78822aa628b757bd3a.tar.bz2 |
#462242 by rednahead and drewish: Remove stray global user that's doing nothing.
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc index 4495aca9d..73d513703 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -1085,8 +1085,6 @@ function file_validate_name_length($file) { * @see hook_file_validate() */ function file_validate_extensions($file, $extensions) { - global $user; - $errors = array(); $regex = '/\.(' . preg_replace('/ +/', '|', preg_quote($extensions)) . ')$/i'; |