mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Virtual nodetree is not attached to any backend
This commit is contained in:
parent
c4943cffe8
commit
86a8606fd1
@ -3978,6 +3978,8 @@ tree(Host) ->
|
||||
Tree -> Tree
|
||||
end.
|
||||
|
||||
tree(_Host, <<"virtual">>) ->
|
||||
nodetree_virtual; % special case, virtual does not use any backend
|
||||
tree(Host, Name) ->
|
||||
case gen_mod:db_type(serverhost(Host), ?MODULE) of
|
||||
mnesia -> jlib:binary_to_atom(<<"nodetree_", Name/binary>>);
|
||||
|
Loading…
Reference in New Issue
Block a user