mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
REFACTOR: more 'fake_email' to base importer
This commit is contained in:
parent
ce0a51665e
commit
afa22a0c6f
6 changed files with 7 additions and 26 deletions
|
@ -551,10 +551,6 @@ EOM
|
|||
Time.zone.at(@tz.utc_to_local(timestamp))
|
||||
end
|
||||
|
||||
def fake_email
|
||||
SecureRandom.hex << "@domain.com"
|
||||
end
|
||||
|
||||
def mysql_query(sql)
|
||||
@client.query(sql, cache_rows: true)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue