Changeset

12603:05ca75309fa0

mod_admin_shell: Remove obsolete module:load() argument from 0.8 time This 'config' argument was removed without explanation in d8dbf569766c
author Kim Alvefur <zash@zash.se>
date Fri, 05 Aug 2022 14:41:13 +0200
parents 12602:9184fe3d489a
children 12604:bd9e006a7a74
files plugins/mod_admin_shell.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua	Tue Aug 02 19:26:26 2022 +0200
+++ b/plugins/mod_admin_shell.lua	Fri Aug 05 14:41:13 2022 +0200
@@ -575,14 +575,14 @@
 	return true;
 end
 
-function def_env.module:load(name, hosts, config)
+function def_env.module:load(name, hosts)
 	hosts = get_hosts_with_module(hosts);
 
 	-- Load the module for each host
 	local ok, err, count, mod = true, nil, 0;
 	for host in hosts do
 		if (not modulemanager.is_loaded(host, name)) then
-			mod, err = modulemanager.load(host, name, config);
+			mod, err = modulemanager.load(host, name);
 			if not mod then
 				ok = false;
 				if err == "global-module-already-loaded" then