Show More
@@ -21,6 +21,7 b'' | |||||
21 | """ |
|
21 | """ | |
22 | comments model for RhodeCode |
|
22 | comments model for RhodeCode | |
23 | """ |
|
23 | """ | |
|
24 | import datetime | |||
24 |
|
25 | |||
25 | import logging |
|
26 | import logging | |
26 | import traceback |
|
27 | import traceback | |
@@ -501,6 +502,8 b' class CommentsModel(BaseModel):' | |||||
501 | comment = ChangesetComment.get(comment_id) |
|
502 | comment = ChangesetComment.get(comment_id) | |
502 | old_comment_text = comment.text |
|
503 | old_comment_text = comment.text | |
503 | comment.text = text |
|
504 | comment.text = text | |
|
505 | comment.modified_at = datetime.datetime.now() | |||
|
506 | ||||
504 | comment_version = ChangesetCommentHistory.get_version(comment_id) |
|
507 | comment_version = ChangesetCommentHistory.get_version(comment_id) | |
505 | if (comment_version - version) != 1: |
|
508 | if (comment_version - version) != 1: | |
506 | log.warning( |
|
509 | log.warning( |
General Comments 0
You need to be logged in to leave comments.
Login now