aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-21 12:57:12 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-21 12:57:12 +0000
commit566248821ca05cdfb0e9ec4aed392ced09d4d1bd (patch)
treed469fd0a022281e0da0bc42db90bf0f252ee80f6 /core/modulemanager.lua
parent4ec0f47224c55725182e2fefa1749fba77e6fc0a (diff)
downloadprosody-566248821ca05cdfb0e9ec4aed392ced09d4d1bd.tar.gz
prosody-566248821ca05cdfb0e9ec4aed392ced09d4d1bd.zip
modulemanager: Remove obsolete actions code
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua16
1 files changed, 0 insertions, 16 deletions
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;