Skip to content

Commit

Permalink
more dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Feb 18, 2024
1 parent 2011a25 commit 13478bd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dojo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,22 +1373,6 @@ def process_notifications(request, note, parent_url, parent_title):
recipients=users_to_notify)


def send_atmention_email(user, users, parent_url, parent_title, new_note):
recipients = [u.email for u in users]
msg = "\nGreetings, \n\n"
msg += "User {0} mentioned you in a note on {1}".format(
str(user), parent_title)
msg += "\n\n" + new_note.entry
msg += "\n\nIt can be reviewed at " + parent_url
msg += "\n\nThanks\n"
send_mail(
'DefectDojo - {0} @mentioned you in a note'.format(str(user)),
msg,
user.email,
recipients,
fail_silently=False)


def encrypt(key, iv, plaintext):
text = ""
if plaintext and plaintext is not None:
Expand Down

0 comments on commit 13478bd

Please sign in to comment.