Clean up Input::upload method.
This commit is contained in:
parent
13d5c301b4
commit
1ed1fdf6fc
|
@ -181,7 +181,7 @@ public static function file($key = null, $default = null)
|
|||
*/
|
||||
public static function upload($key, $path)
|
||||
{
|
||||
return array_key_exists($key, $_FILES) ? File::upload($key, $path, $_FILES) : false;
|
||||
return File::upload($key, $path);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue