Skip to content

Commit

Permalink
Remove unused uri_host function
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwhite committed Mar 4, 2024
1 parent 94f6803 commit 59d5211
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/philomena_web/views/duplicate_report_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,4 @@ defmodule PhilomenaWeb.DuplicateReportView do

defp proper_subset?(set1, set2),
do: MapSet.subset?(set1, set2) and not MapSet.equal?(set1, set2)

defp uri_host(nil), do: nil
defp uri_host(str), do: URI.parse(str).host
end

0 comments on commit 59d5211

Please sign in to comment.