25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

* src/acl.erl and other 64 files: Remove Erlang module attribute

'vsn' because it doesn't provide any worth feature, and it
difficults hot code update (EJAB-440)

SVN Revision: 1044
This commit is contained in:
Badlop 2007-12-06 22:12:27 +00:00
parent e79aa93d88
commit d625fc80fc
66 changed files with 5 additions and 67 deletions

View File

@ -1,5 +1,9 @@
2007-12-06 Badlop <badlop@process-one.net> 2007-12-06 Badlop <badlop@process-one.net>
* src/acl.erl and other 64 files: Remove Erlang module attribute
'vsn' because it doesn't provide any worth feature, and it
difficults hot code update (EJAB-440)
* src/ejabberdctl.cfg.example: Explain that each connection uses * src/ejabberdctl.cfg.example: Explain that each connection uses
two or three ports (thanks to Max Loparyev) two or three ports (thanks to Max Loparyev)

View File

@ -8,7 +8,6 @@
-module(acl). -module(acl).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0, -export([start/0,
to_record/3, to_record/3,

View File

@ -8,7 +8,6 @@
-module(adhoc). -module(adhoc).
-author('henoch@dtek.chalmers.se'). -author('henoch@dtek.chalmers.se').
-vsn('$Revision$ ').
-export([parse_request/1, -export([parse_request/1,
produce_response/2, produce_response/2,

View File

@ -8,7 +8,6 @@
-module(configure). -module(configure).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0]). -export([start/0]).

View File

@ -8,7 +8,6 @@
-module(cyrsasl). -module(cyrsasl).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0, -export([start/0,
register_mechanism/3, register_mechanism/3,

View File

@ -9,7 +9,6 @@
%% See http://www.ietf.org/internet-drafts/draft-ietf-sasl-anon-05.txt %% See http://www.ietf.org/internet-drafts/draft-ietf-sasl-anon-05.txt
-module(cyrsasl_anonymous). -module(cyrsasl_anonymous).
-vsn('$Revision$').
-export([start/1, stop/0, mech_new/3, mech_step/2]). -export([start/1, stop/0, mech_new/3, mech_step/2]).

View File

@ -8,7 +8,6 @@
-module(cyrsasl_digest). -module(cyrsasl_digest).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/1, -export([start/1,
stop/0, stop/0,

View File

@ -8,7 +8,6 @@
-module(cyrsasl_plain). -module(cyrsasl_plain).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/1, stop/0, mech_new/3, mech_step/2, parse/1]). -export([start/1, stop/0, mech_new/3, mech_step/2, parse/1]).

View File

@ -8,7 +8,6 @@
-module(ejabberd). -module(ejabberd).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0, stop/0, -export([start/0, stop/0,
get_so_path/0]). get_so_path/0]).

View File

@ -15,7 +15,6 @@
-module(ejabberd_admin). -module(ejabberd_admin).
-author('mickael.remond@process-one.net'). -author('mickael.remond@process-one.net').
-vsn('$Revision$ ').
-export([restore/1]). -export([restore/1]).

View File

@ -8,7 +8,6 @@
-module(ejabberd_app). -module(ejabberd_app).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(application). -behaviour(application).

View File

@ -12,7 +12,6 @@
-module(ejabberd_auth). -module(ejabberd_auth).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([start/0, -export([start/0,

View File

@ -12,7 +12,6 @@
-module(ejabberd_auth_anonymous). -module(ejabberd_auth_anonymous).
-author('mickael.remond@process-one.net'). -author('mickael.remond@process-one.net').
-vsn('$Revision$ ').
-export([start/1, -export([start/1,
allow_anonymous/1, allow_anonymous/1,

View File

@ -8,7 +8,6 @@
-module(ejabberd_auth_external). -module(ejabberd_auth_external).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([start/1, -export([start/1,

View File

@ -8,7 +8,6 @@
-module(ejabberd_auth_internal). -module(ejabberd_auth_internal).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([start/1, -export([start/1,

View File

@ -8,7 +8,6 @@
-module(ejabberd_auth_ldap). -module(ejabberd_auth_ldap).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_auth_odbc). -module(ejabberd_auth_odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([start/1, -export([start/1,

View File

@ -9,7 +9,6 @@
-module(ejabberd_c2s_config). -module(ejabberd_c2s_config).
-author('mremond@process-one.net'). -author('mremond@process-one.net').
-svn('$Revision$ ').
-export([get_c2s_limits/0]). -export([get_c2s_limits/0]).

View File

@ -8,7 +8,6 @@
-module(ejabberd_ctl). -module(ejabberd_ctl).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0, -export([start/0,
init/0, init/0,

View File

@ -8,7 +8,6 @@
-module(ejabberd_listener). -module(ejabberd_listener).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start_link/0, init/1, start/3, -export([start_link/0, init/1, start/3,
init/3, init/3,

View File

@ -8,7 +8,6 @@
-module(ejabberd_local). -module(ejabberd_local).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -7,7 +7,6 @@
-module(ejabberd_logger_h). -module(ejabberd_logger_h).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-svn('$Revision$ ').
-behaviour(gen_event). -behaviour(gen_event).

View File

@ -10,7 +10,6 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(ejabberd_loglevel). -module(ejabberd_loglevel).
-author('mickael.remond@process-one.net'). -author('mickael.remond@process-one.net').
-svn('$Revision$ ').
-export([set/1]). -export([set/1]).
@ -72,7 +71,6 @@ ejabberd_logger_src(Loglevel) ->
L = integer_to_list(Loglevel), L = integer_to_list(Loglevel),
"-module(ejabberd_logger). "-module(ejabberd_logger).
-author('mickael.remond@process-one.net'). -author('mickael.remond@process-one.net').
-svn('$Revision$ ').
-export([debug_msg/4, -export([debug_msg/4,
info_msg/4, info_msg/4,

View File

@ -8,7 +8,6 @@
-module(ejabberd_node_groups). -module(ejabberd_node_groups).
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_rdbms). -module(ejabberd_rdbms).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-svn('$Revision$ ').
-export([start/0]). -export([start/0]).
-include("ejabberd.hrl"). -include("ejabberd.hrl").

View File

@ -8,7 +8,6 @@
-module(ejabberd_receiver). -module(ejabberd_receiver).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_router). -module(ejabberd_router).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_s2s). -module(ejabberd_s2s).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_service). -module(ejabberd_service).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_fsm). -behaviour(gen_fsm).

View File

@ -8,7 +8,6 @@
-module(ejabberd_sup). -module(ejabberd_sup).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(supervisor). -behaviour(supervisor).

View File

@ -8,7 +8,6 @@
-module(ejabberd_system_monitor). -module(ejabberd_system_monitor).
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_tmp_sup). -module(ejabberd_tmp_sup).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start_link/2, init/1]). -export([start_link/2, init/1]).

View File

@ -8,7 +8,6 @@
-module(ejabberd_zlib). -module(ejabberd_zlib).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejd2odbc). -module(ejd2odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([export_passwd/2, -export([export_passwd/2,

View File

@ -8,7 +8,6 @@
-module(eldap_utils). -module(eldap_utils).
-author('mickael.remond@process-one.net'). -author('mickael.remond@process-one.net').
-svn('$Revision$ ').
-export([generate_subfilter/1, -export([generate_subfilter/1,
find_ldap_attrs/2, find_ldap_attrs/2,
@ -124,4 +123,4 @@ uids_domain_subst(Host, UIDs) ->
{U, eldap_filter:do_sub(V,[{"%d", Host}])}; {U, eldap_filter:do_sub(V,[{"%d", Host}])};
(A) -> A (A) -> A
end, end,
UIDs). UIDs).

View File

@ -8,7 +8,6 @@
-module(gen_iq_handler). -module(gen_iq_handler).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(idna). -module(idna).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%-compile(export_all). %-compile(export_all).
-export([domain_utf8_to_ascii/1, -export([domain_utf8_to_ascii/1,

View File

@ -8,7 +8,6 @@
-module(jd2ejd). -module(jd2ejd).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([import_file/1, -export([import_file/1,

View File

@ -8,7 +8,6 @@
-module(jlib). -module(jlib).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([make_result_iq_reply/1, -export([make_result_iq_reply/1,
make_error_reply/3, make_error_reply/3,

View File

@ -8,7 +8,6 @@
-module(mod_adhoc). -module(mod_adhoc).
-author('henoch@dtek.chalmers.se'). -author('henoch@dtek.chalmers.se').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -10,7 +10,6 @@
-module(mod_configure). -module(mod_configure).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_configure2). -module(mod_configure2).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_disco). -module(mod_disco).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(iconv). -module(iconv).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(mod_irc). -module(mod_irc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_irc_connection). -module(mod_irc_connection).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_fsm). -behaviour(gen_fsm).

View File

@ -8,7 +8,6 @@
-module(mod_last). -module(mod_last).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_last_odbc). -module(mod_last_odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_privacy). -module(mod_privacy).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_privacy_odbc). -module(mod_privacy_odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_private). -module(mod_private).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_private_odbc). -module(mod_private_odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_stats). -module(mod_stats).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(mod_time). -module(mod_time).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -8,7 +8,6 @@
-module(ejabberd_odbc). -module(ejabberd_odbc).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_odbc_sup). -module(ejabberd_odbc_sup).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% API %% API
-export([start_link/1, -export([start_link/1,

View File

@ -8,7 +8,6 @@
-module(randoms). -module(randoms).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([get_string/0]). -export([get_string/0]).

View File

@ -8,7 +8,6 @@
-module(sha). -module(sha).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([start/0, sha/1]). -export([start/0, sha/1]).

View File

@ -8,7 +8,6 @@
-module(shaper). -module(shaper).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([new/1, new1/1, update/2]). -export([new/1, new1/1, update/2]).

View File

@ -8,7 +8,6 @@
-module(stringprep). -module(stringprep).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(tls). -module(tls).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-behaviour(gen_server). -behaviour(gen_server).

View File

@ -8,7 +8,6 @@
-module(ejabberd_http). -module(ejabberd_http).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([start/2, -export([start/2,

View File

@ -8,7 +8,6 @@
-module(ejabberd_http_poll). -module(ejabberd_http_poll).
-author('alexey@process-one.net'). -author('alexey@process-one.net').
-vsn('$Revision$ ').
-behaviour(gen_fsm). -behaviour(gen_fsm).

View File

@ -8,7 +8,6 @@
-module(ejabberd_web). -module(ejabberd_web).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
%% External exports %% External exports
-export([make_xhtml/1, -export([make_xhtml/1,

View File

@ -8,7 +8,6 @@
-module(xml). -module(xml).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([element_to_string/1, -export([element_to_string/1,
crypt/1, make_text_node/1, crypt/1, make_text_node/1,

View File

@ -8,7 +8,6 @@
-module(xml_stream). -module(xml_stream).
-author('alexey@sevcom.net'). -author('alexey@sevcom.net').
-vsn('$Revision$ ').
-export([new/1, -export([new/1,
new/2, new/2,