mod_pep_plus: Remove config form, it moved into pubsub.lib
authorKim Alvefur <zash@zash.se>
Sun, 28 Sep 2014 01:07:46 +0000 (03:07 +0200)
committerKim Alvefur <zash@zash.se>
Sun, 28 Sep 2014 01:07:46 +0000 (03:07 +0200)
plugins/mod_pep_plus.lua

index a281f49edcd3aeca53cbde245cccbf66c62e6cf1..f45d5ef3d7772b988bb487d97cf85aabf0703608 100644 (file)
@@ -158,19 +158,6 @@ function get_pep_service(name)
                        ["pubsub#max_items"] = "1";
                };
 
-               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 = true;
                autocreate_on_subscribe = true;