exit on error

darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
This commit is contained in:
Evan Prodromou 2008-07-18 00:49:05 -04:00
parent 71dfc0d983
commit fe77b3445c

View File

@ -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'];