diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-26 14:17:15 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-26 14:17:15 -0400 |
commit | a3369a5eda129db32009961d75d1624756a4ec29 (patch) | |
tree | 7413a071ed2dc65e949c669b57a2aa72ad867898 /askbot/tasks.py | |
parent | ef5ed9c348b8659a156641de99b2a6bfac376d31 (diff) | |
download | askbot-a3369a5eda129db32009961d75d1624756a4ec29.tar.gz askbot-a3369a5eda129db32009961d75d1624756a4ec29.tar.bz2 askbot-a3369a5eda129db32009961d75d1624756a4ec29.zip |
factored out a function generating email addresses for the email responses
Diffstat (limited to 'askbot/tasks.py')
-rw-r--r-- | askbot/tasks.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/askbot/tasks.py b/askbot/tasks.py index e5ba143d..23966119 100644 --- a/askbot/tasks.py +++ b/askbot/tasks.py @@ -156,6 +156,10 @@ def record_post_update( post = post, recipients = notification_subscribers, ) + #if post.post_type in ('question', 'answer'): + # if created and post.was_moderated(): + # notify_author_about_approved_post(post) + @task(ignore_result = True) def record_question_visit( |