aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2008-08-18 10:29:04 +0000
committerChristophe Romain <christophe.romain@process-one.net>2008-08-18 10:29:04 +0000
commit7b1547b2bd10cbd42ea61bc648cd2b38b69c7595 (patch)
tree562745713368520d5a822f2fff10809d2f174723
parentMinor fixes in text about ejabberd localization (diff)
Fix call to unexported function nodetree_default:get_subnodes/2
SVN Revision: 1529
-rw-r--r--ChangeLog5
-rw-r--r--src/mod_pubsub/node_dispatch.erl2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a6f8fe294..22e318f35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-18 Christophe Romain <christophe.romain@process-one.net>
+
+ * src/mod_pubsub/node_dispatch.erl: Fix call to unexported function
+ nodetree_default:get_subnodes/2
+
2008-08-17 Badlop <badlop@process-one.net>
* contrib/extract_translations/extract_translations.erl: Use
diff --git a/src/mod_pubsub/node_dispatch.erl b/src/mod_pubsub/node_dispatch.erl
index e710a167c..0d9e1dcd9 100644
--- a/src/mod_pubsub/node_dispatch.erl
+++ b/src/mod_pubsub/node_dispatch.erl
@@ -129,7 +129,7 @@ publish_item(Host, Node, Publisher, Model, MaxItems, ItemId, Payload) ->
node_default:publish_item(
Host, SubNode, Publisher, Model,
MaxItems, ItemId, Payload)
- end, nodetree_default:get_subnodes(Host, Node)).
+ end, nodetree_default:get_subnodes(Host, Node, Publisher)).
remove_extra_items(_Host, _Node, _MaxItems, ItemIds) ->
{result, {ItemIds, []}}.