mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
remove useless binding
This commit is contained in:
parent
033bec01e3
commit
877a864ba3
@ -175,7 +175,7 @@ purge_node(NodeId, Owner) ->
|
|||||||
node_flat:purge_node(NodeId, Owner).
|
node_flat:purge_node(NodeId, Owner).
|
||||||
|
|
||||||
get_entity_affiliations(_Host, Owner) ->
|
get_entity_affiliations(_Host, Owner) ->
|
||||||
{_, D, _} = SubKey = jlib:short_prepd_jid(Owner),
|
{_, D, _} = jlib:short_prepd_jid(Owner),
|
||||||
GenKey = jlib:short_prepd_bare_jid(Owner),
|
GenKey = jlib:short_prepd_bare_jid(Owner),
|
||||||
States = mnesia:match_object(#pubsub_state{stateid = {GenKey, '_'}, _ = '_'}),
|
States = mnesia:match_object(#pubsub_state{stateid = {GenKey, '_'}, _ = '_'}),
|
||||||
NodeTree = case catch ets:lookup(gen_mod:get_module_proc(D, config), nodetree) of
|
NodeTree = case catch ets:lookup(gen_mod:get_module_proc(D, config), nodetree) of
|
||||||
|
Loading…
Reference in New Issue
Block a user