diff modules/mod_publish.js @ 41:bc717575e66a

Much better handling of modules.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 20 Feb 2011 15:51:12 +0100
parents 4c808bfe0658
children 023f767662d3
line wrap: on
line diff
--- a/modules/mod_publish.js
+++ b/modules/mod_publish.js
@@ -1,12 +1,3 @@
-var config = require('../configuration');
-var storage = require('../storage');
-var notifs = require('../notifs');
-var errors = require('../errors');
-var makeError = errors.makeError;
-var fdsq = require('../fdsq');
-var toBareJID = fdsq.toBareJID;
-var NS = require('../namespaces');
-
 // SECTION 7.1: Publish an Item to a Node
 exports.publish = {
 	type: 'set',