1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

global domains aren't supported any longer

هذا الالتزام موجود في:
Adam Cooke
2017-05-04 13:04:48 +01:00
الأصل 22e0dd27ae
التزام 3e281b576e

عرض الملف

@@ -231,11 +231,6 @@ class Server < ApplicationRecord
return domain
end
# Check with global domains
if route = self.routes.includes(:domain).references(:domain).where(:domains => {:server_id => nil, :name => domain_name}, :name => uname).first
return route.domain
end
if any_domain = self.domains.verified.where(:use_for_any => true).order(:name).first
return any_domain
end