mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 22:07:59 -05:00
revert changes
This commit is contained in:
@@ -204,15 +204,6 @@ URL: %s
|
||||
d["to"] = [media.user.email]
|
||||
notify_items.append(d)
|
||||
|
||||
if action == "comment_added" and media:
|
||||
if settings.USERS_NOTIFICATIONS.get("COMMENT_ADDED", False):
|
||||
d = {}
|
||||
title = f"[{settings.PORTAL_NAME}] - Comment was added"
|
||||
msg = f"A comment was added on media {media_url}\n"
|
||||
d["title"] = title
|
||||
d["msg"] = msg
|
||||
d["to"] = [media.user.username]
|
||||
notify_items.append(d)
|
||||
|
||||
for item in notify_items:
|
||||
email = EmailMessage(
|
||||
|
||||
Reference in New Issue
Block a user