mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Virtual nodetree is not attached to any backend
This commit is contained in:
parent
c4943cffe8
commit
86a8606fd1
1 changed files with 2 additions and 0 deletions
|
@ -3978,6 +3978,8 @@ tree(Host) ->
|
||||||
Tree -> Tree
|
Tree -> Tree
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
tree(_Host, <<"virtual">>) ->
|
||||||
|
nodetree_virtual; % special case, virtual does not use any backend
|
||||||
tree(Host, Name) ->
|
tree(Host, Name) ->
|
||||||
case gen_mod:db_type(serverhost(Host), ?MODULE) of
|
case gen_mod:db_type(serverhost(Host), ?MODULE) of
|
||||||
mnesia -> jlib:binary_to_atom(<<"nodetree_", Name/binary>>);
|
mnesia -> jlib:binary_to_atom(<<"nodetree_", Name/binary>>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue