summaryrefslogtreecommitdiff
path: root/actions/twitapifriendships.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-18 00:49:05 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-18 00:49:05 -0400
commitfe77b3445c5721f81e99b292f06f4ff3ab823022 (patch)
tree2d21b9fc2686670c6e0c764784de5cd0f7a9f042 /actions/twitapifriendships.php
parent71dfc0d983c4be2e13eac6f52a1a4860db1968fd (diff)
exit on error
darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-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'];