X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpleroma%2Fupload%2Ffilter.ex;h=c677d4b9fcb107007ee4ae9fe9d1b00966fc69f9;hb=0ef783baa1d82c57a47569e494e1d5010cd3dd91;hp=367acd2146d147a4240d433dce73c5429224b8a8;hpb=d0e0396528c55f1b61c1d48452e855ea69ec3e89;p=akkoma
diff --git a/lib/pleroma/upload/filter.ex b/lib/pleroma/upload/filter.ex
index 367acd214..c677d4b9f 100644
--- a/lib/pleroma/upload/filter.ex
+++ b/lib/pleroma/upload/filter.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors
+# Copyright © 2017-2021 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Upload.Filter do
@@ -43,6 +43,4 @@ defmodule Pleroma.Upload.Filter do
error
end
end
-
- def filter(nil, upload), do: filter([], upload)
end