summaryrefslogtreecommitdiff
path: root/actions/apifriendshipsdestroy.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-10 14:18:54 -0800
committerEvan Prodromou <evan@status.net>2010-01-10 14:18:54 -0800
commit15b88697a7c182faead1bbddfe38b59fdc54a0a2 (patch)
tree69b41257e797a7919ffa8ee77619805957d0abe8 /actions/apifriendshipsdestroy.php
parent866dfa6822df54765a9b92336722d86cfad6b123 (diff)
parent63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/apifriendshipsdestroy.php')
-rw-r--r--actions/apifriendshipsdestroy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apifriendshipsdestroy.php b/actions/apifriendshipsdestroy.php
index 3d9b7e001..91c6fd032 100644
--- a/actions/apifriendshipsdestroy.php
+++ b/actions/apifriendshipsdestroy.php
@@ -97,7 +97,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
if (!in_array($this->format, array('xml', 'json'))) {
$this->clientError(
- _('API method not found!'),
+ _('API method not found.'),
404,
$this->format
);
@@ -117,7 +117,7 @@ class ApiFriendshipsDestroyAction extends ApiAuthAction
if ($this->user->id == $this->other->id) {
$this->clientError(
- _("You cannot unfollow yourself!"),
+ _("You cannot unfollow yourself."),
403,
$this->format
);