This sets the last_emailed_at for imported users to now which postpones the sending of digest emails for the configured amount of time. Therefore, the first digest email gets sent after 1 week (the default value of default_digest_email_frequency). As suggested in https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345/7 |
||
|---|---|---|
| .. | ||
| import_scripts | ||
| alice.txt | ||
| bench.rb | ||
| diff_heaps.rb | ||
| discourse | ||
| docker_test.rb | ||
| git_badge_grant.rb | ||
| measure.rb | ||
| memstats.rb | ||
| micro_bench.rb | ||
| osx_dev | ||
| profile_db_generator.rb | ||
| pull_translations.rb | ||
| rails | ||
| require_profiler.rb | ||
| setup_dev | ||
| test_email_settings.rb | ||
| test_mem.rb | ||
| user_simulator.rb | ||
| version_bump.rb | ||