aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2015-06-10 11:44:44 +0200
committerIngela Anderton Andin <ingela@erlang.org>2015-06-15 17:39:35 +0200
commit50297560373fb34bb30b62a91969e9737aa07a61 (patch)
treecee1f4ae522490fa479bef334305db2c84bfc0e9 /lib/stdlib/src
parent0dbe45a5ef3df42905efbcd36114570f1a7df87c (diff)
downloadotp-50297560373fb34bb30b62a91969e9737aa07a61.tar.gz
otp-50297560373fb34bb30b62a91969e9737aa07a61.tar.bz2
otp-50297560373fb34bb30b62a91969e9737aa07a61.zip
inets: Deprecate functions in util module httpd_conf.erl
These functions should not be used, there exists better functions in the standard libraries.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/otp_internal.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 0340015c35..62807e2e54 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -634,6 +634,19 @@ obsolete_1(ssl, negotiated_next_protocol, 1) ->
obsolete_1(ssl, connection_info, 1) ->
{deprecated, "deprecated; use connection_information/[1,2] instead"};
+obsolete_1(httpd_conf, check_enum, 2) ->
+ {deprecated, "deprecated; use lists:member/2 instead"};
+obsolete_1(httpd_conf, clean, 1) ->
+ {deprecated, "deprecated; use sting:strip/1 instead or possible the re module"};
+obsolete_1(httpd_conf, custom_clean, 3) ->
+ {deprecated, "deprecated; use sting:strip/3 instead or possible the re module"};
+obsolete_1(httpd_conf, is_directory, 1) ->
+ {deprecated, "deprecated; use filelib:is_dir/1 instead"};
+obsolete_1(httpd_conf, is_file, 1) ->
+ {deprecated, "deprecated; use filelib:is_file/1 instead"};
+obsolete_1(httpd_conf, make_integer, 1) ->
+ {deprecated, "deprecated; use erlang:list_to_integer/1 instead"};
+
obsolete_1(_, _, _) ->
no.