From 566248821ca05cdfb0e9ec4aed392ced09d4d1bd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 21 Jan 2010 12:57:12 +0000 Subject: modulemanager: Remove obsolete actions code --- core/modulemanager.lua | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'core') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 032cab84..d8418d83 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -13,7 +13,6 @@ local log = logger.init("modulemanager"); 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 @@ function api:get_host_items(key) 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; -- cgit v1.2.3