summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapifriendships.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index c603761a2..5d3bde8e9 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -99,6 +99,9 @@ class TwitapifriendshipsAction extends TwitterapiAction {
$sub->query('BEGIN');
$sub->delete();
$sub->query('COMMIT');
+ } else {
+ $this->client_error(_('Not subscribed'));
+ exit();
}
$type = $apidata['content-type'];