Diff

plugins/mod_pep_plus.lua @ 6449:24cd03cd1847

mod_pep_plus: Remove config form, it moved into pubsub.lib
author Kim Alvefur <zash@zash.se>
date Sun, 28 Sep 2014 03:07:46 +0200
parent 6444:aab509a9d0ba
child 8214:da8bc600902a
line wrap: on
line diff
--- a/plugins/mod_pep_plus.lua	Sun Sep 28 02:00:44 2014 +0200
+++ b/plugins/mod_pep_plus.lua	Sun Sep 28 03:07:46 2014 +0200
@@ -158,19 +158,6 @@
 			["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;