From 460d32a4cc2cd77ea95d7eab1d08daafd7638dd9 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 9 Aug 2012 13:48:37 -0400 Subject: commented out the plug on email alerts from users with < 15 karma points --- askbot/tasks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/askbot/tasks.py b/askbot/tasks.py index da07477b..5b695a8c 100644 --- a/askbot/tasks.py +++ b/askbot/tasks.py @@ -206,11 +206,11 @@ def record_post_update( exclude_list = [updated_by, ] ) #todo: fix this temporary spam protection plug - if created: - if not (updated_by.is_administrator() or updated_by.is_moderator()): - if updated_by.reputation < 15: - notification_subscribers = \ - [u for u in notification_subscribers if u.is_administrator()] + #if created: + # if not (updated_by.is_administrator() or updated_by.is_moderator()): + # if updated_by.reputation < 15: + # notification_subscribers = \ + # [u for u in notification_subscribers if u.is_administrator()] send_instant_notifications_about_activity_in_post( update_activity = update_activity, post = post, -- cgit v1.2.3-1-g7c22