fixed typo and added instance creation to modpol.lua
This commit is contained in:
@@ -77,9 +77,10 @@ dofile (topdir .. "/api.lua")
|
||||
-- Final checks
|
||||
|
||||
-- create instance if not present
|
||||
-- if not modpol.get_org_id_by_name('instance') then
|
||||
-- modpol.add_org("instance", modpol.list_users())
|
||||
-- end
|
||||
if not modpol.orgs.get_org('instance') then
|
||||
modpol.orgs.init_instance()
|
||||
modpol.instance = modpol.orgs.get_org('instance')
|
||||
end
|
||||
|
||||
modpol.ocutil.log ("modpol loaded")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user