summaryrefslogtreecommitdiff
path: root/actions/apifriendshipscreate.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-12 17:08:49 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-12 17:08:49 +0200
commita9fad9a7ac85270e2a45cfad28c6017b200496eb (patch)
treeaf55f466911750f3943af2e16088785c029dff6d /actions/apifriendshipscreate.php
parent89b6fade24bcab74b79959cffc106d9ebc57d680 (diff)
Add translator hint.
Diffstat (limited to 'actions/apifriendshipscreate.php')
-rw-r--r--actions/apifriendshipscreate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/apifriendshipscreate.php b/actions/apifriendshipscreate.php
index a7ec5b28a..64c857c70 100644
--- a/actions/apifriendshipscreate.php
+++ b/actions/apifriendshipscreate.php
@@ -88,6 +88,7 @@ class ApiFriendshipsCreateAction 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