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 22:06:18 +0000
commit1996b709c64a1281ac623acc693b605881d34f54 (patch)
tree509057664b3bd0c66feaa39b3434b206283d91fa /plugins/TwitterBridge
parentead595eee8d62a35272491061994da44c30c8174 (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 1aeba112f..40dbb1a8c 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();