From 29cb0ae7baa593f25d24922fb490ecad356ca9e8 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Fri, 7 Aug 2009 14:10:08 +0000 Subject: [PATCH] do not create hometree node by default SVN Revision: 2444 --- src/mod_pubsub/mod_pubsub.erl | 4 ++-- src/mod_pubsub/mod_pubsub_odbc.erl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index eb8789814..119f5e45d 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -264,8 +264,8 @@ terminate_plugins(Host, ServerHost, Plugins, TreePlugin) -> ok. init_nodes(Host, ServerHost) -> - create_node(Host, ServerHost, ["home"], service_jid(Host), ?STDNODE), - create_node(Host, ServerHost, ["home", ServerHost], service_jid(Host), ?STDNODE), + %create_node(Host, ServerHost, ["home"], service_jid(Host), "hometree"), + %create_node(Host, ServerHost, ["home", ServerHost], service_jid(Host), "hometree"), ok. update_node_database(Host, ServerHost) -> diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index c07b470a8..c3e539e1f 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -263,8 +263,8 @@ terminate_plugins(Host, ServerHost, Plugins, TreePlugin) -> ok. init_nodes(Host, ServerHost) -> - create_node(Host, ServerHost, ["home"], service_jid(Host), ?STDNODE), - create_node(Host, ServerHost, ["home", ServerHost], service_jid(Host), ?STDNODE), + %create_node(Host, ServerHost, ["home"], service_jid(Host), "hometree_odbc"), + %create_node(Host, ServerHost, ["home", ServerHost], service_jid(Host), "hometree_odbc"), ok. update_node_database(Host, ServerHost) ->