mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
mod_http_upload: Deprecate 'service_url' option
Users should migrate to the 'external_secret' interface.
This commit is contained in:
parent
7fed5a3eb6
commit
8ad6afd652
@ -183,7 +183,10 @@ mod_opt_type(get_url) ->
|
|||||||
end;
|
end;
|
||||||
mod_opt_type(service_url) ->
|
mod_opt_type(service_url) ->
|
||||||
fun(undefined) -> undefined;
|
fun(undefined) -> undefined;
|
||||||
(URL) -> misc:try_url(URL)
|
(URL) ->
|
||||||
|
?WARNING_MSG("option 'service_url' is deprecated, consider unsing "
|
||||||
|
"the 'external_secret' interface instead", []),
|
||||||
|
misc:try_url(URL)
|
||||||
end;
|
end;
|
||||||
mod_opt_type(custom_headers) ->
|
mod_opt_type(custom_headers) ->
|
||||||
fun(Headers) ->
|
fun(Headers) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user