summaryrefslogtreecommitdiff
path: root/src/mod_pubsub/node_dispatch.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-05-07 00:09:02 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-05-07 00:09:02 +0000
commit3d766c1cb5824ff1b53d3020d70648de4db2de7d (patch)
treea04c26d7c0c658691ee354a60cea40846dda92b9 /src/mod_pubsub/node_dispatch.erl
parentReplace TYPE/1 with is_TYPE/1 (EJAB-922) (diff)
several pubsub fixes and improvements. also fixes EJAB-913 and EJAB-871
SVN Revision: 2059
Diffstat (limited to 'src/mod_pubsub/node_dispatch.erl')
-rw-r--r--src/mod_pubsub/node_dispatch.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub/node_dispatch.erl b/src/mod_pubsub/node_dispatch.erl
index 3ef07877..a279d30a 100644
--- a/src/mod_pubsub/node_dispatch.erl
+++ b/src/mod_pubsub/node_dispatch.erl
@@ -47,7 +47,7 @@
subscribe_node/7,
unsubscribe_node/4,
publish_item/6,
- delete_item/3,
+ delete_item/4,
remove_extra_items/3,
get_entity_affiliations/2,
get_node_affiliations/1,
@@ -134,7 +134,7 @@ publish_item(NodeId, Publisher, Model, MaxItems, ItemId, Payload) ->
remove_extra_items(_NodeId, _MaxItems, ItemIds) ->
{result, {ItemIds, []}}.
-delete_item(_NodeId, _JID, _ItemId) ->
+delete_item(_NodeId, _Publisher, _PublishModel, _ItemId) ->
{error, ?ERR_ITEM_NOT_FOUND}.
purge_node(_NodeId, _Owner) ->