Changeset

2479:9c074ba1f662

modulemanager: Remove obsolete actions code
author Matthew Wild <mwild1@gmail.com>
date Thu, 21 Jan 2010 12:57:12 +0000
parents 2478:7be72eca5666
children 2480:3596d181cfc3
files core/modulemanager.lua
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
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;