From 0fe59bdb3c19002506d4dcd888cd01e81aefc9b9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 28 Sep 2014 02:47:54 +0200 Subject: mod_pubsub: Move node config form into pubsub.lib (Thanks Florob) --- plugins/mod_pubsub/mod_pubsub.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'plugins/mod_pubsub/mod_pubsub.lua') diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 0ffa7981..8c777f54 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -218,19 +218,6 @@ function module.load() }; }; - node_config_form = require"util.dataforms".new { - { - type = "hidden"; - name = "FORM_TYPE"; - value = "http://jabber.org/protocol/pubsub#node_config"; - }; - { - type = "text-single"; - name = "pubsub#max_items"; - label = "Max # of items to persist"; - }; - }; - autocreate_on_publish = autocreate_on_publish; autocreate_on_subscribe = autocreate_on_subscribe; -- cgit v1.2.3