Twitter-bridge: lookup old foreign_user by primary key not url

This commit is contained in:
Zach Copley 2010-02-15 21:53:49 +00:00
parent ead595eee8
commit 1996b709c6

View File

@ -35,7 +35,7 @@ function add_twitter_user($twitter_id, $screen_name)
// repoed, and things like that. // repoed, and things like that.
$luser = new Foreign_user(); $luser = new Foreign_user();
$luser->uri = $new_uri; $luser->id = $twitter_id;
$luser->service = TWITTER_SERVICE; $luser->service = TWITTER_SERVICE;
$result = $luser->delete(); $result = $luser->delete();