diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 43ca80b34..d826f551e 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -230,7 +230,7 @@ init([ServerHost, Opts]) -> %% node_plugin. The 'node_' prefix is mandatory.
%%The modules are initialized in alphetical order and the list is checked %% and sorted to ensure that each module is initialized only once.
-%%See {@link node_default:init/1} for an example implementation.
+%%See {@link node_hometree:init/1} for an example implementation.
init_plugins(Host, ServerHost, Opts) -> TreePlugin = list_to_atom(?TREE_PREFIX ++ gen_mod:get_opt(nodetree, Opts, ?STDTREE)), @@ -1570,7 +1570,7 @@ delete_node(Host, Node, Owner) -> %% Node = pubsubNode() %% From = jid() %% JID = jid() -%% @see node_default:subscribe_node/5 +%% @see node_hometree:subscribe_node/5 %% @docAccepts or rejects subcription requests on a PubSub node.
%%There are several reasons why the subscription request might fail:
%%The nodeType is a string containing the name of the PubSub %%% plugin to use to manage a given node. For example, it can be -%%% "default", "collection" or "blog".
+%%% "flat", "hometree" or "blog". %%% @type jid() = #jid{ %%% user = string(), @@ -92,7 +92,7 @@ -record(pubsub_node, {nodeid, id, parent, - type = "default", + type = "flat", owners = [], options = [] }).