Remove redundant ensure_scrubbed_html
It is never used as handling for fake and non-fake activities was merged into one function above it
This commit is contained in:
parent
a58813e7a1
commit
51e26f14f7
|
@ -71,14 +71,6 @@ def ensure_scrubbed_html(
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue