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