Diff

plugins/mod_admin_adhoc.lua @ 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
parent 4926:58714123f600
child 4956:bc26e6d519ae
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