From 1ed1fdf6fc5401c5894a6a8f349adbc973c3c391 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 23 Nov 2011 09:45:55 -0600 Subject: [PATCH] Clean up Input::upload method. --- laravel/input.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/input.php b/laravel/input.php index 8c826588..64290167 100644 --- a/laravel/input.php +++ b/laravel/input.php @@ -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); } -} +} \ No newline at end of file