2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

REFACTOR: more 'fake_email' to base importer

This commit is contained in:
Régis Hanol 2018-10-22 11:12:40 +02:00
parent ce0a51665e
commit afa22a0c6f
6 changed files with 7 additions and 26 deletions

View file

@ -931,10 +931,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