diff options
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 |