Commit 2edc570d authored by Ryan Cobb's avatar Ryan Cobb

Remove unneeded nil protection

parent a34e6191
......@@ -150,7 +150,7 @@ module Gitlab
end
def get_port(uri)
uri&.port || uri&.default_port
uri.port || uri.default_port
end
def validate_html_tags(uri)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment