forked from GNUsocial/gnu-social
Twitter-bridge: lookup old foreign_user by primary key not url
This commit is contained in:
parent
ead595eee8
commit
1996b709c6
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user