Commit 51e26f14 authored by rinpatch's avatar rinpatch

Remove redundant ensure_scrubbed_html

It is never used as handling for fake and non-fake activities was merged
into one function above it
parent a58813e7
Pipeline #11312 passed with stages
in 5 minutes and 50 seconds
......@@ -71,14 +71,6 @@ defmodule Pleroma.HTML do
end
end
def ensure_scrubbed_html(
content,
scrubbers,
true = _fake
) do
{:ignore, filter_tags(content, scrubbers)}
end
defp generate_scrubber_signature(scrubber) when is_atom(scrubber) do
generate_scrubber_signature([scrubber])
end
......
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