summaryrefslogtreecommitdiff
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:05:23 +0000
commit01c428796f7986fddc0e602656a57ea63055bffd (patch)
treebc866485ae0a952a3be6cbab9d11c07a44395269
parentfdf6ed7b1ade7dc4cf2f1f71063025719f3e722a (diff)
Twitter-bridge: lookup old foreign_user by primary key not url
-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();