diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-12-03 22:10:01 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-12-03 22:10:01 -0500 |
commit | 11f2cc0579716d3f830e2a82d33a3f1162108dbf (patch) | |
tree | ce98496a84f7d93c68ef1d198d904241af4b57cf /askbot/auth.py | |
parent | 60bc97227cf407e7bf12c5f249c6d7f73cef5276 (diff) | |
download | askbot-11f2cc0579716d3f830e2a82d33a3f1162108dbf.tar.gz askbot-11f2cc0579716d3f830e2a82d33a3f1162108dbf.tar.bz2 askbot-11f2cc0579716d3f830e2a82d33a3f1162108dbf.zip |
half of the badges are redone
Diffstat (limited to 'askbot/auth.py')
-rw-r--r-- | askbot/auth.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/askbot/auth.py b/askbot/auth.py index 05403634..7b4fac68 100644 --- a/askbot/auth.py +++ b/askbot/auth.py @@ -121,9 +121,6 @@ def onFlaggedItem(post, user, timestamp=None): @transaction.commit_on_success def onAnswerAccept(answer, user, timestamp=None): - if timestamp is None: - timestamp = datetime.datetime.now() - answer.accepted = True answer.accepted_at = timestamp answer.question.answer_accepted = True |