From ad6849b18c3f6ed710714a4a0091b8e9365434b2 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 18 Jul 2008 00:52:04 -0400 Subject: [PATCH] change fetch to find in api darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz --- actions/twitapifriendships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index eaef6966c8..0253cb8e57 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -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'); -- 2.39.5