diff --git a/src/node_pep.erl b/src/node_pep.erl index 9d5f21285..e98cde81b 100644 --- a/src/node_pep.erl +++ b/src/node_pep.erl @@ -118,8 +118,7 @@ create_node(Nidx, Owner) -> node_flat:create_node(Nidx, Owner). delete_node(Nodes) -> - {result, {_, _, Result}} = node_flat:delete_node(Nodes), - {result, {default, Result}}. + node_flat:delete_node(Nodes). subscribe_node(Nidx, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup, Options) -> diff --git a/src/node_pep_sql.erl b/src/node_pep_sql.erl index bf989f173..e5ceb1e8c 100644 --- a/src/node_pep_sql.erl +++ b/src/node_pep_sql.erl @@ -74,8 +74,7 @@ create_node(Nidx, Owner) -> {result, {default, broadcast}}. delete_node(Nodes) -> - {result, {_, _, Result}} = node_flat_sql:delete_node(Nodes), - {result, {default, Result}}. + node_flat_sql:delete_node(Nodes). subscribe_node(Nidx, Sender, Subscriber, AccessModel, SendLast, PresenceSubscription, RosterGroup, Options) ->