sync and cleanup pubsub_odbc

This commit is contained in:
Christophe Romain 2013-06-17 16:34:21 +02:00
parent 08fc6df853
commit 20598c7be4
2 changed files with 1 additions and 1190 deletions

View File

@ -2695,7 +2695,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload, Access) ->
%% for automatic node creation. we'll take the default node type:
%% first listed into the plugins configuration option, or pep
Type = select_type(ServerHost, Host, Node),
case lists:member("auto-create", features(Type)) of
case lists:member(<<"auto-create">>, features(Type)) of
true ->
case create_node(Host, ServerHost, Node, Publisher, Type, Access, []) of
{result, [#xmlel{name = <<"pubsub">>,

File diff suppressed because it is too large Load Diff