1 diff --git a/db/fixtures/990_settings.rb b/db/fixtures/990_settings.rb
2 deleted file mode 100644
3 index 6f21e58813..0000000000
4 --- a/db/fixtures/990_settings.rb
7 -# frozen_string_literal: true
9 -if SiteSetting.notification_email == SiteSetting.defaults[:notification_email]
10 - # don't crash for invalid hostname, which is possible in dev
12 - SiteSetting.notification_email = "noreply@#{Discourse.current_hostname}"
13 - rescue Discourse::InvalidParameters
14 - if Rails.env.production?
15 - STDERR.puts "WARNING: Discourse hostname: #{Discourse.current_hostname} is not a valid domain for emails!"