From f4719b66bc5ed4391b93fb5931a256c1b21fbf1a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 19 Jul 2012 15:36:16 +0100 Subject: mod_admin_adhoc: Remove unused variable and save a bit of CPU... --- plugins/mod_admin_adhoc.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index b8cb0637..80fca4b7 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -453,7 +453,6 @@ function load_module_handler(self, data, state) '". Error was: "'..tostring(err or "")..'"' } }; end else - local modules = array.collect(keys(hosts[data.to].modules)):sort(); return { status = "executing", form = layout }, "executing"; end end -- cgit v1.2.3