Skip to content
Commit 4d003c81 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Do not iterate over the files



As "singleFileUpload" is used the "add" callback (which in turn calls
"addFileToUpload") will always be called with a single file. Therefore
there is no need to iterate over the files (and it is not done in the
other callbacks either, so this aligns the code with the rest of the
callbacks).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 313b824d
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