[#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:
parent
d0e0396528
commit
3f88e33a71
6 changed files with 35 additions and 33 deletions
|
|
@ -43,6 +43,4 @@ defmodule Pleroma.Upload.Filter do
|
|||
error
|
||||
end
|
||||
end
|
||||
|
||||
def filter(nil, upload), do: filter([], upload)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue