Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Natay committed May 28, 2021
1 parent f3fc941 commit 2ca7f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biostar/forum/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def merge_profiles(main, alias):
Message.objects.filter(sender=alias).update(sender=main)
Message.objects.filter(recipient=alias).update(recipient=main)

# Do not delete 'alias' if it is older than main profile.
# Do not delete older accounts.
older = (alias.profile.date_joined < main.profile.date_joined)

if alias.profile.is_moderator or alias.profile.high_rep or older:
Expand Down

0 comments on commit 2ca7f04

Please sign in to comment.