remove dead code
This commit is contained in:
parent
9912ead516
commit
1df8d3f8a4
1 changed files with 0 additions and 7 deletions
|
@ -78,14 +78,7 @@ def submit_new_comment(comment):
|
|||
subject = f"STACOSYS {site_name}"
|
||||
if mailer.send(subject, email_body):
|
||||
logger.debug("new comment processed")
|
||||
|
||||
# save notification datetime
|
||||
dao.notify_comment(comment)
|
||||
else:
|
||||
logger.warning("rescheduled. send mail failure %s", subject)
|
||||
|
||||
|
||||
@background.callback
|
||||
def submit_new_comment_callback(future):
|
||||
# TODO use future to log submit status
|
||||
logger.debug(future)
|
||||
|
|
Loading…
Add table
Reference in a new issue