diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2010-01-12 15:25:59 +0000 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2010-01-12 15:25:59 +0000 |
commit | 0cc58d7a7154c4de6c4f49da0372b9fd57568869 (patch) | |
tree | 86f4304dd3c0ccc362e0d24da4248cd435e5c993 /src/mod_pubsub/mod_pubsub_odbc.erl | |
parent | avoid calling gen_server on internal events (EJAB-1156) (diff) |
remove useless comment
SVN Revision: 2888
Diffstat (limited to 'src/mod_pubsub/mod_pubsub_odbc.erl')
-rw-r--r-- | src/mod_pubsub/mod_pubsub_odbc.erl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index 340b965b4..4209a3a43 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -2852,24 +2852,6 @@ get_options_for_subs(NodeID, Subs) -> Acc end, [], Subs). -% TODO: merge broadcast code that way -%broadcast(Host, Node, NodeId, Type, NodeOptions, Feature, Force, ElName, SubEls) -> -% case (get_option(NodeOptions, Feature) or Force) of -% true -> -% case node_action(Host, Type, get_node_subscriptions, [NodeId]) of -% {result, []} -> -% {result, false}; -% {result, Subs} -> -% Stanza = event_stanza([{xmlelement, ElName, nodeAttr(Node), SubEls}]), -% broadcast_stanza(Host, Node, Type, NodeOptions, SubOpts, Stanza), -% {result, true}; -% _ -> -% {result, false} -% end; -% _ -> -% {result, false} -% end - broadcast_stanza(Host, Node, _NodeId, _Type, NodeOptions, SubsByDepth, NotifyType, BaseStanza, SHIM) -> NotificationType = get_option(NodeOptions, notification_type, headline), BroadcastAll = get_option(NodeOptions, broadcast_all_resources), %% XXX this is not standard, but usefull |