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 fdf6ed7b1a
commit 01c428796f

View File

@ -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();