summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2016-03-11 17:25:46 +0100
committerChristophe Romain <christophe.romain@process-one.net>2016-03-11 17:25:46 +0100
commit9297782868178a47725f20df9f7a51ad59a3e5e3 (patch)
tree79c0b83355991d869a2098720ba56bdce9bbbaea
parentDon't enable in-band registration by default (diff)
Fix config fetch after host/serverhost cleanup
-rw-r--r--src/mod_pubsub.erl6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index ed3debbf..8017e3e5 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -3953,20 +3953,14 @@ set_xoption(Host, [{<<"pubsub#itemreply">>, [Val]} | Opts], NewOpts) ->
set_xoption(Host, [_ | Opts], NewOpts) ->
set_xoption(Host, Opts, NewOpts).
-get_max_items_node({_, ServerHost, _}) ->
- get_max_items_node(ServerHost);
get_max_items_node(Host) ->
config(serverhost(Host), max_items_node, undefined).
-get_max_subscriptions_node({_, ServerHost, _}) ->
- get_max_subscriptions_node(ServerHost);
get_max_subscriptions_node(Host) ->
config(serverhost(Host), max_subscriptions_node, undefined).
%%%% last item cache handling
-is_last_item_cache_enabled({_, ServerHost, _}) ->
- is_last_item_cache_enabled(ServerHost);
is_last_item_cache_enabled(Host) ->
config(serverhost(Host), last_item_cache, false).