fixed process count, added lazy table length function, removed orgs now decrement org counter, orgs loaded message should now be accurate

This commit is contained in:
Luke Miller committed 2022-08-16 11:10:40 -04:00
1 parent 8d3428653c
commit 52334f409e
4 files changed
+13 -2

No files matched your search

+1
View File
@@ -224,6 +224,7 @@ function modpol.orgs:delete()
end
modpol.orgs.array[self.id] = 'removed'
modpol.orgs.count = modpol.orgs.count - 1
modpol.ocutil.log('Deleted org ' .. self.name .. ': ' .. self.id)
self:record('Deleted ' .. self.name .. ' and all child orgs', 'del_org')