diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:52:04 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:52:04 -0400 |
commit | ad6849b18c3f6ed710714a4a0091b8e9365434b2 (patch) | |
tree | 452bd15798a6de3398ab4c0d091e501d1d43e53f /actions/twitapifriendships.php | |
parent | 4d74fea66b28405d07330ff93181b02a236a0c9d (diff) |
change fetch to find in api
darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r-- | actions/twitapifriendships.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index eaef6966c..0253cb8e5 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'); |