ks: add completions for bash and zsh (#364049)
[NixPkgs.git] / pkgs / servers / web-apps / discourse / notification_email.patch
blob9a64b1c1f9ea439b7467dda9b9a90736a5392f4c
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
5 +++ /dev/null
6 @@ -1,12 +0,0 @@
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
11 - begin
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!"
16 - end
17 - end
18 -end