25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Don't say v1.2, because that number is never increased and is confusing

This commit is contained in:
Badlop 2010-07-26 20:20:15 +02:00
parent 11130806f9
commit 9265c23e1a

View File

@ -33,8 +33,6 @@
-module(mod_http_bind). -module(mod_http_bind).
-author('steve@zeank.in-berlin.de'). -author('steve@zeank.in-berlin.de').
-define(MOD_HTTP_BIND_VERSION, "1.2").
%%-define(ejabberd_debug, true). %%-define(ejabberd_debug, true).
-behaviour(gen_mod). -behaviour(gen_mod).
@ -81,7 +79,7 @@ process(_Path, _Request) ->
[#xmlcdata{cdata = <<"400 Bad Request">>}]}}. [#xmlcdata{cdata = <<"400 Bad Request">>}]}}.
get_human_html_xmlel() -> get_human_html_xmlel() ->
Heading = list_to_binary("ejabberd " ++ atom_to_list(?MODULE) ++ " v" ++ ?MOD_HTTP_BIND_VERSION), Heading = list_to_binary("ejabberd " ++ atom_to_list(?MODULE)),
H = #xmlel{name = h1, children = [#xmlcdata{cdata = Heading}]}, H = #xmlel{name = h1, children = [#xmlcdata{cdata = Heading}]},
Par1 = #xmlel{name = p, children = Par1 = #xmlel{name = p, children =
[#xmlcdata{cdata = <<"An implementation of ">>}, [#xmlcdata{cdata = <<"An implementation of ">>},