diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:49:05 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:49:05 -0400 |
commit | fe77b3445c5721f81e99b292f06f4ff3ab823022 (patch) | |
tree | 2d21b9fc2686670c6e0c764784de5cd0f7a9f042 /actions/twitapifriendships.php | |
parent | 71dfc0d983c4be2e13eac6f52a1a4860db1968fd (diff) |
exit on error
darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r-- | actions/twitapifriendships.php | 3 |
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']; |