mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-13 15:16:49 +02:00
fix badmatch on remove_user on PEP nodes (EJAB-1649)
This commit is contained in:
parent
8621a8f006
commit
48819d163a
@ -144,12 +144,10 @@ create_node(NodeIdx, Owner) ->
|
||||
).
|
||||
|
||||
delete_node(Removed) ->
|
||||
{result, {_, _, Removed}} = node_hometree:delete_node(Removed),
|
||||
{result, {[], Removed}}.
|
||||
% case node_hometree:delete_node(Removed) of
|
||||
% {result, {_, _, Removed}} -> {result, {[], Removed}};
|
||||
% Error -> Error
|
||||
% end.
|
||||
case node_hometree:delete_node(Removed) of
|
||||
{result, {_, _, Result}} -> {result, {[], Result}};
|
||||
Error -> Error
|
||||
end.
|
||||
|
||||
-spec(subscribe_node/8 ::
|
||||
(
|
||||
|
@ -156,7 +156,7 @@ create_node(NodeIdx, Owner) ->
|
||||
).
|
||||
delete_node(Removed) ->
|
||||
case node_hometree_odbc:delete_node(Removed) of
|
||||
{result, {_, _, Removed}} -> {result, {[], Removed}};
|
||||
{result, {_, _, Result}} -> {result, {[], Result}};
|
||||
Error -> Error
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user