summaryrefslogtreecommitdiff
path: root/actions/apidirectmessagenew.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-23 09:50:46 -0400
committerEvan Prodromou <evan@status.net>2010-09-23 09:50:46 -0400
commit0f1fc36a05c8d858827718255bef20e8d0c0d3f6 (patch)
tree7be7f3fabe27e9780c37de7483807d28ef3dfcf4 /actions/apidirectmessagenew.php
parent77609e0c4a1b76748ab320027b0696aced92b52c (diff)
parent5f409a0d7caa3b075657eef947deb7b62452b82d (diff)
Merge branch '0.9.x'
Diffstat (limited to 'actions/apidirectmessagenew.php')
-rw-r--r--actions/apidirectmessagenew.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php
index 65d065648..44e205ebb 100644
--- a/actions/apidirectmessagenew.php
+++ b/actions/apidirectmessagenew.php
@@ -106,6 +106,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
$this->clientError(
+ // TRANS: Client error. POST is a HTTP command. It should not be translated.
_('This method requires a POST.'),
400,
$this->format