mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
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
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue