Show More
@@ -73,12 +73,6 b' class PostManager(models.Manager):' | |||
|
73 | 73 | last_edit_time=posting_time) |
|
74 | 74 | new_thread = True |
|
75 | 75 | else: |
|
76 | thread.bump() | |
|
77 | thread.last_edit_time = posting_time | |
|
78 | if thread.can_bump() and ( | |
|
79 | thread.get_reply_count() >= settings.MAX_POSTS_PER_THREAD): | |
|
80 | thread.bumpable = False | |
|
81 | thread.save() | |
|
82 | 76 | new_thread = False |
|
83 | 77 | |
|
84 | 78 | pre_text = self._preparse_text(text) |
@@ -108,6 +102,11 b' class PostManager(models.Manager):' | |||
|
108 | 102 | |
|
109 | 103 | if new_thread: |
|
110 | 104 | Thread.objects.process_oldest_threads() |
|
105 | else: | |
|
106 | thread.bump() | |
|
107 | thread.last_edit_time = posting_time | |
|
108 | thread.save() | |
|
109 | ||
|
111 | 110 | self.connect_replies(post) |
|
112 | 111 | |
|
113 | 112 | return post |
General Comments 0
You need to be logged in to leave comments.
Login now