diff --git a/src/mod_pubsub/node_hometree.erl b/src/mod_pubsub/node_hometree.erl index 19e2f5dc9..98f1141ab 100644 --- a/src/mod_pubsub/node_hometree.erl +++ b/src/mod_pubsub/node_hometree.erl @@ -816,8 +816,9 @@ get_nodes_helper(NodeTree, false end. -%% @spec (NodeId) -> [States] | [] +%% @spec (NodeId) -> {result, [State] | []} %% NodeId = mod_pubsub:pubsubNodeId() +%% State = mod_pubsub:pubsubState() %% @doc Returns the list of stored states for a given node. %%

For the default PubSub module, states are stored in Mnesia database.

%%

We can consider that the pubsub_state table have been created by the main diff --git a/src/mod_pubsub/node_hometree_odbc.erl b/src/mod_pubsub/node_hometree_odbc.erl index df9216ec2..51b1c0e02 100644 --- a/src/mod_pubsub/node_hometree_odbc.erl +++ b/src/mod_pubsub/node_hometree_odbc.erl @@ -870,8 +870,9 @@ get_nodes_helper(NodeTree, false end. -%% @spec (NodeId) -> [States] | [] +%% @spec (NodeId) -> {result, [State] | []} %% NodeId = mod_pubsub:pubsubNodeId() +%% State = mod_pubsub:pubsubState() %% @doc Returns the list of stored states for a given node. %%

For the default PubSub module, states are stored in Mnesia database.

%%

We can consider that the pubsub_state table have been created by the main