Commit 1ed1fdf6 by Taylor Otwell

Clean up Input::upload method.

parent 13d5c301
...@@ -181,7 +181,7 @@ class Input { ...@@ -181,7 +181,7 @@ class Input {
*/ */
public static function upload($key, $path) public static function upload($key, $path)
{ {
return array_key_exists($key, $_FILES) ? File::upload($key, $path, $_FILES) : false; return File::upload($key, $path);
} }
} }
\ No newline at end of file
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