summaryrefslogtreecommitdiffstats
path: root/askbot/auth.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-12-03 22:10:01 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-12-03 22:10:01 -0500
commit11f2cc0579716d3f830e2a82d33a3f1162108dbf (patch)
treece98496a84f7d93c68ef1d198d904241af4b57cf /askbot/auth.py
parent60bc97227cf407e7bf12c5f249c6d7f73cef5276 (diff)
downloadaskbot-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.py3
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