mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:51:25 +08:00
fix my broken test
This commit is contained in:
@ -488,7 +488,7 @@ class User < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def update_topic_reply_count
|
def update_topic_reply_count
|
||||||
topic_reply_count =
|
self.topic_reply_count =
|
||||||
Topic
|
Topic
|
||||||
.where(['id in (
|
.where(['id in (
|
||||||
SELECT topic_id FROM posts p
|
SELECT topic_id FROM posts p
|
||||||
|
Reference in New Issue
Block a user