Permalink
Browse files

Rename FLUENT_COMMENTS_USE_EMAIL_MODERATION -> FLUENT_COMMENTS_USE_EM…

…AIL_NOTIFICATION
  • Loading branch information...
vdboor committed Nov 11, 2012
1 parent 5499ae6 commit 7a3d2b36b22f450aa9d076c5dcce47c37380dae8
Showing with 2 additions and 2 deletions.
  1. +1 −1 fluent_comments/appsettings.py
  2. +1 −1 fluent_comments/models.py
@@ -12,7 +12,7 @@
FLUENT_COMMENTS_REPLACE_ADMIN = getattr(settings, "FLUENT_COMMENTS_REPLACE_ADMIN", True)
FLUENT_CONTENTS_USE_AKISMET = getattr(settings, 'FLUENT_CONTENTS_USE_AKISMET', bool(AKISMET_API_KEY))
-FLUENT_COMMENTS_USE_EMAIL_MODERATION = getattr(settings, 'FLUENT_COMMENTS_USE_EMAIL_MODERATION', True) # enable by default
+FLUENT_COMMENTS_USE_EMAIL_NOTIFICATION = getattr(settings, 'FLUENT_COMMENTS_USE_EMAIL_NOTIFICATION', True) # enable by default
FLUENT_COMMENTS_CLOSE_AFTER_DAYS = getattr(settings, 'FLUENT_COMMENTS_CLOSE_AFTER_DAYS', None)
FLUENT_COMMENTS_MODERATE_AFTER_DAYS = getattr(settings, 'FLUENT_COMMENTS_MODERATE_AFTER_DAYS', None)
FLUENT_COMMENTS_AKISMET_ACTION = getattr(settings, 'FLUENT_COMMENTS_AKISMET_ACTION', 'moderate') # or 'delete'
@@ -18,7 +18,7 @@ def on_comment_posted(sender, comment, request, **kwargs):
#
# Instead of implementing this feature in the moderator class, the signal is used instead
# so the notification feature works regardless of a manual moderator.register() call in the project.
- if not appsettings.FLUENT_COMMENTS_USE_EMAIL_MODERATION:
+ if not appsettings.FLUENT_COMMENTS_USE_EMAIL_NOTIFICATION:
return
recipient_list = [manager_tuple[1] for manager_tuple in settings.MANAGERS]

0 comments on commit 7a3d2b3

Please sign in to comment.