Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Natay committed Jul 20, 2021
1 parent 2ba4ad7 commit 9c8575a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions biostar/forum/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,7 @@ def output_mention_link(self, m):
# Subscribe mentioned users to post.
if self.root:
# Create user subscription if it does not already exist.
#TODO: make seperate template
# check rep in ping users.
#auth.ping_user(user , target, post)
sub_type = Subscription.EMAIL_MESSAGE
auth.create_subscription(post=self.root, sub_type=sub_type, user=user, update=True)
auth.create_subscription(post=self.root, user=user, update=True)
else:
link = m.group(0)

Expand Down

0 comments on commit 9c8575a

Please sign in to comment.