Clean up Input::upload method.

This commit is contained in:
Taylor Otwell
2011-11-23 09:45:55 -06:00
parent 13d5c301b4
commit 1ed1fdf6fc

View File

@@ -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);
} }
} }