mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: only use the records that are auto populated by the task. (#14360)
Previously, it was using existing user and topic records to generate random posts.
This commit is contained in:
@@ -44,7 +44,7 @@ module DiscourseDev
|
||||
end
|
||||
|
||||
def self.random
|
||||
super(::User)
|
||||
super(::User, use_existing_records: false)
|
||||
end
|
||||
|
||||
def set_random_avatar(user)
|
||||
|
||||
Reference in New Issue
Block a user