From 39cb29500fe7e251972c933db03cc8e705a7fe40 Mon Sep 17 00:00:00 2001 From: "Eric Johansson (neku)" Date: Sat, 20 Dec 2014 03:24:12 +0100 Subject: Update upload.php --- static/upload.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'static') diff --git a/static/upload.php b/static/upload.php index 156efa6..ad4cdc7 100644 --- a/static/upload.php +++ b/static/upload.php @@ -212,9 +212,7 @@ function respond ($code, $files = null) { http_response_code(200); $files = $code; } - $format = array_key_exists('output', $_GET) ? $_GET['output'] : 'json'; - switch ($format) { case 'gyazo': respond_gyazo($code, $files); -- cgit v1.2.3