remove dead code

pull/9/head
Yax 2 years ago
parent 9912ead516
commit 1df8d3f8a4

@ -78,14 +78,7 @@ def submit_new_comment(comment):
subject = f"STACOSYS {site_name}" subject = f"STACOSYS {site_name}"
if mailer.send(subject, email_body): if mailer.send(subject, email_body):
logger.debug("new comment processed") logger.debug("new comment processed")
# save notification datetime # save notification datetime
dao.notify_comment(comment) dao.notify_comment(comment)
else: else:
logger.warning("rescheduled. send mail failure %s", subject) 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…
Cancel
Save