diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-01-16 23:05:31 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-01-16 23:05:31 +0300 |
commit | 3f88e33a71ce02cdea722c322f1e86672aa5ff69 (patch) | |
tree | 290caec55d4250e8afee97ac57c200d4fe70341c /lib | |
parent | d0e0396528c55f1b61c1d48452e855ea69ec3e89 (diff) | |
download | pleroma-3f88e33a71ce02cdea722c322f1e86672aa5ff69.tar.gz pleroma-3f88e33a71ce02cdea722c322f1e86672aa5ff69.zip |
[#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. Refactoring. Added warning to `clear_config/_` to minimize such issues in future.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/upload/filter.ex | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pleroma/upload/filter.ex b/lib/pleroma/upload/filter.ex index 367acd214..661135634 100644 --- a/lib/pleroma/upload/filter.ex +++ b/lib/pleroma/upload/filter.ex @@ -43,6 +43,4 @@ defmodule Pleroma.Upload.Filter do error end end - - def filter(nil, upload), do: filter([], upload) end |