Created no-consent add_child_org module and a bugfix

This commit is contained in:
Nathan Schneider
2022-01-27 13:32:12 -07:00
parent cdb8e44099
commit 509d2781f7
3 changed files with 68 additions and 1 deletions

View File

@ -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