mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Get rid of ejabberd.hrl header
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
This commit is contained in:
parent
c3c75affa9
commit
fd8e07af47
148 changed files with 283 additions and 409 deletions
|
@ -36,7 +36,6 @@
|
|||
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("ejabberd.hrl").
|
||||
-include("ejabberd_commands.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include("ejabberd_sql_pt.hrl").
|
||||
|
@ -82,7 +81,7 @@ update_sql() ->
|
|||
_ ->
|
||||
update_sql(Host)
|
||||
end
|
||||
end, ?MYHOSTS),
|
||||
end, ejabberd_config:get_myhosts()),
|
||||
ok.
|
||||
|
||||
-record(state, {host :: binary(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue