Return new-style config if old-style config is set to false.
authorlain <lain@soykaf.club>
Mon, 28 Jan 2019 12:07:12 +0000 (13:07 +0100)
committerlain <lain@soykaf.club>
Mon, 28 Jan 2019 12:07:12 +0000 (13:07 +0100)
commit8e8a1e1ba8a08bc297884fe085b4542a052d6d01
tree61b6366190b1c01c9bcb753604b0779347bf0180
parentbcc559e4e61988c9d2c74dd407329b1a4c458400
Return new-style config if old-style config is set to false.

This is in preparation for 1.0. We'll be able to switch the config to the new
mechanism on PleromaFE then as well.
lib/pleroma/web/twitter_api/controllers/util_controller.ex
test/web/twitter_api/util_controller_test.exs