summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Johansson (neku) <neku@pomf.se>2014-12-20 03:24:12 +0100
committerEric Johansson (neku) <neku@pomf.se>2014-12-20 03:24:12 +0100
commit39cb29500fe7e251972c933db03cc8e705a7fe40 (patch)
tree6736a36e39b9fba82ec365d0573ea07c851ce475
parentc98c802488a85ad736efbf8a7b49ee3c77793720 (diff)
Update upload.php
-rw-r--r--static/upload.php2
1 files changed, 0 insertions, 2 deletions
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);