Changeset

4955:4f1b6a4784f9

mod_admin_adhoc: Remove unused variable and save a bit of CPU...
author Matthew Wild <mwild1@gmail.com>
date Thu, 19 Jul 2012 15:36:16 +0100
parents 4954:318624ffe74e
children 4956:bc26e6d519ae 4957:1722a6bea115
files plugins/mod_admin_adhoc.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_adhoc.lua	Thu Jul 19 15:35:07 2012 +0100
+++ b/plugins/mod_admin_adhoc.lua	Thu Jul 19 15:36:16 2012 +0100
@@ -453,7 +453,6 @@
 			'". Error was: "'..tostring(err or "<unspecified>")..'"' } };
 		end
 	else
-		local modules = array.collect(keys(hosts[data.to].modules)):sort();
 		return { status = "executing", form = layout }, "executing";
 	end
 end