mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update FixDuplicateProfiles command
This commit is contained in:
parent
39d683b9fe
commit
443acb8227
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ class FixDuplicateProfiles extends Command
|
|||
|
||||
protected function checkFollowers($id, $oid)
|
||||
{
|
||||
Follower::whereProfileId($oid)->update(['profile_id' => $id]);
|
||||
Follower::whereFollowingId($oid)->update(['following_id' => $id]);
|
||||
Follower::whereProfileId($oid)->where('profile_id', '!=', $id)->update(['profile_id' => $id]);
|
||||
Follower::whereFollowingId($oid)->where('following_id', '!=', $id)->update(['following_id' => $id]);
|
||||
}
|
||||
|
||||
protected function checkHashtagFollow($id, $oid)
|
||||
|
|
Loading…
Reference in a new issue