diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-07-18 18:16:42 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-07-18 18:16:42 +0200 |
commit | 8ad6afd652bdc6b3d582df3981770507b897b19f (patch) | |
tree | 3167cd058130ac7e6a9c939798e6c8a84304ee41 /src/mod_http_upload.erl | |
parent | Merge pull request #2537 from rouen-sk/patch-1 (diff) |
mod_http_upload: Deprecate 'service_url' option
Users should migrate to the 'external_secret' interface.
Diffstat (limited to 'src/mod_http_upload.erl')
-rw-r--r-- | src/mod_http_upload.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mod_http_upload.erl b/src/mod_http_upload.erl index 8ed47f69d..ed29299f6 100644 --- a/src/mod_http_upload.erl +++ b/src/mod_http_upload.erl @@ -183,7 +183,10 @@ mod_opt_type(get_url) -> end; mod_opt_type(service_url) -> 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; mod_opt_type(custom_headers) -> fun(Headers) -> |