mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02:00
gen_mod: Remove frontend process support
ejabberd doesn't support frontend processes anymore.
This commit is contained in:
parent
45a3c7e0ce
commit
094f586811
@ -833,9 +833,7 @@ get_hosts(Opts, Prefix) ->
|
|||||||
Hosts
|
Hosts
|
||||||
end.
|
end.
|
||||||
|
|
||||||
-spec get_module_proc(binary(), {frontend, atom()} | atom()) -> atom().
|
-spec get_module_proc(binary(), atom()) -> atom().
|
||||||
get_module_proc(Host, {frontend, Base}) ->
|
|
||||||
get_module_proc(<<"frontend_", Host/binary>>, Base);
|
|
||||||
get_module_proc(Host, Base) ->
|
get_module_proc(Host, Base) ->
|
||||||
binary_to_atom(
|
binary_to_atom(
|
||||||
<<(erlang:atom_to_binary(Base, latin1))/binary, "_", Host/binary>>,
|
<<(erlang:atom_to_binary(Base, latin1))/binary, "_", Host/binary>>,
|
||||||
|
Loading…
Reference in New Issue
Block a user