mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2025-01-15 19:00:54 +01:00
Fix comment in object.ex
This commit is contained in:
parent
c50353e6ae
commit
ab3089d6a7
@ -96,7 +96,7 @@ defmodule Pleroma.Object do
|
||||
|
||||
defp generate_scrubber_signature(scrubbers) do
|
||||
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 =
|
||||
if Kernel.function_exported?(scrubber, :version, 0) do
|
||||
scrubber.version
|
||||
|
Loading…
x
Reference in New Issue
Block a user