forked from GNUsocial/gnu-social
exit on error
darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
This commit is contained in:
parent
71dfc0d983
commit
fe77b3445c
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user