Diff

core/modulemanager.lua @ 2479:9c074ba1f662

modulemanager: Remove obsolete actions code
author Matthew Wild <mwild1@gmail.com>
date Thu, 21 Jan 2010 12:57:12 +0000
parent 2350:443e388988e7
child 2584:5091548a3805
line wrap: on
line diff
--- a/core/modulemanager.lua	Thu Jan 21 12:56:08 2010 +0000
+++ b/core/modulemanager.lua	Thu Jan 21 12:57:12 2010 +0000
@@ -13,7 +13,6 @@
 local eventmanager = require "core.eventmanager";
 local config = require "core.configmanager";
 local multitable_new = require "util.multitable".new;
-local register_actions = require "core.actions".register;
 local st = require "util.stanza";
 local pluginloader = require "util.pluginloader";
 
@@ -532,19 +531,4 @@
 	return result;
 end
 
---------------------------------------------------------------------
-
-local actions = {};
-
-function actions.load(params)
-	--return true, "Module loaded ("..params.module.." on "..params.host..")";
-	return load(params.host, params.module);
-end
-
-function actions.unload(params)
-	return unload(params.host, params.module);
-end
-
-register_actions("/modules", actions);
-
 return _M;