mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
style(rubocop): Lint/UselessAssignment
This commit is contained in:
@@ -232,8 +232,6 @@ class Server < ApplicationRecord
|
||||
return nil unless uname
|
||||
return nil unless domain_name
|
||||
|
||||
uname, = uname.split("+", 2)
|
||||
|
||||
# Find a verified domain which directly matches the domain name for the given address.
|
||||
domain = Domain.verified
|
||||
.order(owner_type: :desc)
|
||||
|
||||
Reference in New Issue
Block a user