From fe77b3445c5721f81e99b292f06f4ff3ab823022 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 18 Jul 2008 00:49:05 -0400 Subject: [PATCH] exit on error darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz --- actions/twitapifriendships.php | 3 +++ 1 file changed, 3 insertions(+) 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']; -- 2.39.5