summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/classes/Response.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index 7c8bd22..cd9229b 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -43,7 +43,7 @@ class Response
$this->type = $response_type;
break;
case 'gyazo':
- // Deprecated API since version 2.0.0
+ // Deprecated API since version 2.0.0, use text response instead
// fallthrough
case 'text':
header('Content-Type: text/plain; charset=UTF-8');
@@ -71,7 +71,7 @@ class Response
$response = $this->json_error($code, $desc);
break;
case 'gyazo':
- // Deprecated API since version 2.0.0
+ // Deprecated API since version 2.0.0, use text response instead
// fallthrough
case 'text':
$response = $this->text_error($code, $desc);
@@ -97,7 +97,7 @@ class Response
$response = $this->json_success($files);
break;
case 'gyazo':
- // Deprecated API since version 2.0.0
+ // Deprecated API since version 2.0.0, use text response instead
// fallthrough
case 'text':
$response = $this->text_success($files);