Clean up Input::upload method.

This commit is contained in:
Taylor Otwell 2011-11-23 09:45:55 -06:00
parent 13d5c301b4
commit 1ed1fdf6fc
1 changed files with 2 additions and 2 deletions

View File

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