mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: when a topic is deleted, update the post count stats of all user who replied
This commit is contained in:
@@ -52,6 +52,7 @@ class UserStat < ActiveRecord::Base
|
||||
", seen_at: last_seen
|
||||
end
|
||||
|
||||
# topic_reply_count is a count of posts in other users' topics
|
||||
def update_topic_reply_count
|
||||
self.topic_reply_count =
|
||||
Topic
|
||||
|
||||
Reference in New Issue
Block a user