From: Evan Prodromou Date: Fri, 18 Jul 2008 04:52:04 +0000 (-0400) Subject: change fetch to find in api X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad6849b18c3f6ed710714a4a0091b8e9365434b2;p=quix0rs-gnu-social.git change fetch to find in api darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz --- 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');