summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-15 21:53:49 +0000
committerZach Copley <zach@status.net>2010-02-15 21:53:49 +0000
commit66f427c373b6559aa81f4b3b18b0aa58ec689c0d (patch)
tree81782140c006410dabe742394a7f4e22180e1f27 /plugins/TwitterBridge
parenta69863eae6f82440b50c3fb5e500e6feec052ae4 (diff)
Twitter-bridge: lookup old foreign_user by primary key not url
Diffstat (limited to 'plugins/TwitterBridge')
-rw-r--r--plugins/TwitterBridge/twitter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php
index 2a075300f..ce989768e 100644
--- a/plugins/TwitterBridge/twitter.php
+++ b/plugins/TwitterBridge/twitter.php
@@ -35,7 +35,7 @@ function add_twitter_user($twitter_id, $screen_name)
// repoed, and things like that.
$luser = new Foreign_user();
- $luser->uri = $new_uri;
+ $luser->id = $twitter_id;
$luser->service = TWITTER_SERVICE;
$result = $luser->delete();