diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-08-09 13:48:37 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-08-09 13:48:37 -0400 |
commit | 460d32a4cc2cd77ea95d7eab1d08daafd7638dd9 (patch) | |
tree | e942bd0dd8a4e78a8e6e775dc57922e6d60b5ef7 | |
parent | 895f12f3e909bde653c34e3d70e717decf9298d9 (diff) | |
download | askbot-460d32a4cc2cd77ea95d7eab1d08daafd7638dd9.tar.gz askbot-460d32a4cc2cd77ea95d7eab1d08daafd7638dd9.tar.bz2 askbot-460d32a4cc2cd77ea95d7eab1d08daafd7638dd9.zip |
commented out the plug on email alerts from users with < 15 karma points
-rw-r--r-- | askbot/tasks.py | 10 |
1 files 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, |