From: rinpatch Date: Wed, 1 May 2019 10:52:44 +0000 (+0300) Subject: Remove redundant ensure_scrubbed_html X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=51e26f14f7fc342c23fe1fe643a1cf444ef9392b;p=akkoma Remove redundant ensure_scrubbed_html It is never used as handling for fake and non-fake activities was merged into one function above it --- diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index eb33d12d9..726c370ad 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -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