Commit 5b9f9a0e authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #1013986 by disturbedmime, jhodgdon: fix unfinished sentence in file_validate_extensions()

parent 76b739df
...@@ -657,9 +657,12 @@ function file_validate_name_length($file) { ...@@ -657,9 +657,12 @@ function file_validate_name_length($file) {
* @param $file * @param $file
* A Drupal file object. * A Drupal file object.
* @param $extensions * @param $extensions
* A string with a space separated * A string with a space separated list of allowed file extensions, not
* including the period. For example, 'bmp jpg gif png'.
*
* @return * @return
* An array. If the file extension is not allowed, 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) { function file_validate_extensions($file, $extensions) {
global $user; global $user;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment