summaryrefslogtreecommitdiff
path: root/actions/apistatusesretweet.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apistatusesretweet.php')
-rw-r--r--actions/apistatusesretweet.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apistatusesretweet.php b/actions/apistatusesretweet.php
index 9aa337485..aae98f637 100644
--- a/actions/apistatusesretweet.php
+++ b/actions/apistatusesretweet.php
@@ -62,6 +62,7 @@ class ApiStatusesRetweetAction extends ApiAuthAction
parent::prepare($args);
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
+ // TRANS: Client error. POST is a HTTP command. It should not be translated.
$this->clientError(_('This method requires a POST.'),
400, $this->format);
return false;