Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
19 lines
658 B
Diff
19 lines
658 B
Diff
diff --git a/db/fixtures/990_settings.rb b/db/fixtures/990_settings.rb
|
|
deleted file mode 100644
|
|
index 6f21e58813..0000000000
|
|
--- a/db/fixtures/990_settings.rb
|
|
+++ /dev/null
|
|
@@ -1,12 +0,0 @@
|
|
-# frozen_string_literal: true
|
|
-
|
|
-if SiteSetting.notification_email == SiteSetting.defaults[:notification_email]
|
|
- # don't crash for invalid hostname, which is possible in dev
|
|
- begin
|
|
- SiteSetting.notification_email = "noreply@#{Discourse.current_hostname}"
|
|
- rescue Discourse::InvalidParameters
|
|
- if Rails.env.production?
|
|
- STDERR.puts "WARNING: Discourse hostname: #{Discourse.current_hostname} is not a valid domain for emails!"
|
|
- end
|
|
- end
|
|
-end
|