gen_mod: Remove frontend process support

ejabberd doesn't support frontend processes anymore.
This commit is contained in:
Holger Weiss 2018-04-04 18:22:59 +02:00
parent 45a3c7e0ce
commit 094f586811
1 changed files with 1 additions and 3 deletions

View File

@ -833,9 +833,7 @@ get_hosts(Opts, Prefix) ->
Hosts
end.
-spec get_module_proc(binary(), {frontend, atom()} | atom()) -> atom().
get_module_proc(Host, {frontend, Base}) ->
get_module_proc(<<"frontend_", Host/binary>>, Base);
-spec get_module_proc(binary(), atom()) -> atom().
get_module_proc(Host, Base) ->
binary_to_atom(
<<(erlang:atom_to_binary(Base, latin1))/binary, "_", Host/binary>>,