equal
deleted
inserted
replaced
26 |
26 |
27 for module_name in set.intersection(modules,configured_modules) do |
27 for module_name in set.intersection(modules,configured_modules) do |
28 module:log("debug", "Reloading %s", module_name); |
28 module:log("debug", "Reloading %s", module_name); |
29 mm.reload(module.host, module_name); |
29 mm.reload(module.host, module_name); |
30 end |
30 end |
|
31 |
|
32 local global_modules = module:get_option_set("reload_global_modules", {}); |
|
33 for module_name in global_modules do |
|
34 module:log("debug", "Global reload of mod_%s", module_name); |
|
35 mm.reload("*", module_name); |
|
36 end |
31 end |
37 end |
32 |
38 |
33 |
39 |
34 if module.hook_global then |
40 if module.hook_global then |
35 module:hook_global("config-reloaded", reload_all); |
41 module:hook_global("config-reloaded", reload_all); |