Created no-consent add_child_org module and a bugfix
This commit is contained in:
@ -215,7 +215,7 @@ function modpol.orgs:delete()
|
||||
if #self.children > 0 then
|
||||
for i, child_id in pairs(self.children) do
|
||||
local child = modpol.orgs.get_org(child_id)
|
||||
modpol.ocutil.log(child_id, child)
|
||||
modpol.ocutil.log("Deleting child org...")
|
||||
child:delete()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user