legacy module loading now works properly

This commit is contained in:
Luke Miller 2022-06-08 16:57:25 -04:00
parent 3824399f33
commit 0725e66261
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
modpol.load_modules = function(path)
dofile (path .. "/add_child_org_consent.lua")
dofile (path .. "/add_child_org.lua")
dofile (path .. "/change_modules.lua")
dofile (path .. "/change_policy.lua")
dofile (path .. "/consent.lua")
dofile (path .. "/create_token.lua")
dofile (path .. "/defer_consent.lua")
dofile (path .. "/display_policies.lua")
dofile (path .. "/display_processes.lua")
dofile (path .. "/join_org_consent.lua")
dofile (path .. "/leave_org.lua")
dofile (path .. "/message_org.lua")
dofile (path .. "/randomizer.lua")
dofile (path .. "/remove_child_consent.lua")
dofile (path .. "/remove_member_consent.lua")
dofile (path .. "/remove_org_consent.lua")
dofile (path .. "/remove_org.lua")
dofile (path .. "/remove_process.lua")
dofile (path .. "/rename_org_consent.lua")
dofile (path .. "/send_token.lua")
dofile (path .. "/tokenomics.lua")
end

View File

@ -55,5 +55,5 @@ modpol.load_modules = function(module_path)
end
else
dofile (modpol.topdir .. "/store/sotre-modules-legacy.lua")
dofile (modpol.topdir .. "/storage/store-modules-legacy.lua")
end