diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index c603761a2b..5d3bde8e96 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'];