[#3251] Fixed wrong test-env config setting for [Pleroma.Upload]. Refactoring. Added warning to clear_config/_ to minimize such issues in future.

This commit is contained in:
Ivan Tashkinov 2021-01-16 23:05:31 +03:00
commit 3f88e33a71
6 changed files with 35 additions and 33 deletions

View file

@ -43,6 +43,4 @@ defmodule Pleroma.Upload.Filter do
error
end
end
def filter(nil, upload), do: filter([], upload)
end