change fetch to find in api
darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz
This commit is contained in:
parent
4d74fea66b
commit
ad6849b18c
@ -96,7 +96,7 @@ class TwitapifriendshipsAction extends TwitterapiAction {
|
||||
$sub->subscriber = $user->id;
|
||||
$sub->subscribed = $other->id;
|
||||
|
||||
if ($sub->fetch(TRUE)) {
|
||||
if ($sub->find(TRUE)) {
|
||||
$sub->query('BEGIN');
|
||||
$sub->delete();
|
||||
$sub->query('COMMIT');
|
||||
|
Loading…
Reference in New Issue
Block a user