25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Merge pull request #286 from vesvalo/fix_pep_odbc_publishing

fix 404 on pep first publishing with odbc
This commit is contained in:
Evgeny Khramtsov 2014-08-21 13:29:55 +04:00
commit 8e3a49d369

View File

@ -2315,7 +2315,7 @@ create_node(Host, ServerHost, Node, Owner, GivenType, Access, Configuration) ->
{result, Reply}; {result, Reply};
{result, {NodeId, _SubsByDepth, Result}} -> {result, {NodeId, _SubsByDepth, Result}} ->
ejabberd_hooks:run(pubsub_create_node, ServerHost, [ServerHost, Host, Node, NodeId, NodeOptions]), ejabberd_hooks:run(pubsub_create_node, ServerHost, [ServerHost, Host, Node, NodeId, NodeOptions]),
{result, Result}; {result, Reply};
Error -> Error ->
%% in case we change transaction to sync_dirty... %% in case we change transaction to sync_dirty...
%% node_call(Type, delete_node, [Host, Node]), %% node_call(Type, delete_node, [Host, Node]),