disable emailing of instant notifications (#4922)
This commit is contained in:
parent
36985d918b
commit
1994d2fc11
|
@ -22,7 +22,7 @@ msgstr ""
|
|||
"Project-Id-Version: askbot\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-06-09 03:24-0500\n"
|
||||
"PO-Revision-Date: 2014-06-09 10:45+0200\n"
|
||||
"PO-Revision-Date: 2014-06-09 10:56+0200\n"
|
||||
"Last-Translator: Pierre Cros <pcros@entrouvert.com>\n"
|
||||
"Language-Team: français <>\n"
|
||||
"Language: fr\n"
|
||||
|
@ -4578,7 +4578,7 @@ msgstr "%(user)s a édité un %(post_link)s."
|
|||
#: models/__init__.py:3069
|
||||
#, python-format
|
||||
msgid "%(user)s posted an %(post_link)s."
|
||||
msgstr "%(user)s a publié un %(post_link)s."
|
||||
msgstr "%(user)s a publié une %(post_link)s."
|
||||
|
||||
#: models/__init__.py:3074
|
||||
#, python-format
|
||||
|
|
|
@ -212,6 +212,9 @@ def send_instant_notifications_about_activity_in_post(
|
|||
post = None,
|
||||
recipients = None,
|
||||
):
|
||||
# disable emailing of instant notifications
|
||||
return
|
||||
|
||||
#reload object from the database
|
||||
post = Post.objects.get(id=post.id)
|
||||
if post.is_approved() is False:
|
||||
|
|
Reference in New Issue