From: Evan Prodromou Date: Fri, 18 Jul 2008 04:49:05 +0000 (-0400) Subject: exit on error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fe77b3445c5721f81e99b292f06f4ff3ab823022;p=quix0rs-gnu-social.git exit on error darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz --- 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'];