forked from AkkomaGang/akkoma
Fix comment in object.ex
This commit is contained in:
parent
c50353e6ae
commit
ab3089d6a7
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ defp generate_scrubber_signature(scrubber) when is_atom(scrubber) do
|
||||||
|
|
||||||
defp generate_scrubber_signature(scrubbers) do
|
defp generate_scrubber_signature(scrubbers) do
|
||||||
Enum.reduce(scrubbers, "", fn scrubber, signature ->
|
Enum.reduce(scrubbers, "", fn scrubber, signature ->
|
||||||
# If a scrubber does not have a version(e.g HtmlSanitizeEx.Scrubber) it is assumed it is always 0)
|
# If a scrubber does not have a version(e.g HtmlSanitizeEx.Scrubber.StripTags) it is assumed it is always 0)
|
||||||
version =
|
version =
|
||||||
if Kernel.function_exported?(scrubber, :version, 0) do
|
if Kernel.function_exported?(scrubber, :version, 0) do
|
||||||
scrubber.version
|
scrubber.version
|
||||||
|
|
Loading…
Reference in a new issue