removed strange message
This commit is contained in:
		| @@ -78,7 +78,6 @@ if (modpol.orgs.array) then | |||||||
|         if type(org) == 'table' then  |         if type(org) == 'table' then  | ||||||
|             setmetatable(org, modpol.orgs) |             setmetatable(org, modpol.orgs) | ||||||
|             -- sets process metatable on load |             -- sets process metatable on load | ||||||
|             print(org.modules) |  | ||||||
|             for id, process in ipairs(org.processes) do |             for id, process in ipairs(org.processes) do | ||||||
|                 setmetatable(process, modpol.modules[process.type]) |                 setmetatable(process, modpol.modules[process.type]) | ||||||
|             end |             end | ||||||
|   | |||||||
| @@ -129,7 +129,7 @@ function modpol.orgs:record(msg, entry_type) | |||||||
|         entry.entry_type = entry_type |         entry.entry_type = entry_type | ||||||
|     else |     else | ||||||
|         modpol.ocutil.log('Error in ' .. self.name .. ':record -> entry_type must be a non empty string') |         modpol.ocutil.log('Error in ' .. self.name .. ':record -> entry_type must be a non empty string') | ||||||
|         print(msg, entry_type) |         modpol.ocutil.log(msg, entry_type) | ||||||
|         return false |         return false | ||||||
|     end |     end | ||||||
|  |  | ||||||
| @@ -194,7 +194,7 @@ function modpol.orgs:delete() | |||||||
|     if #self.children > 0 then |     if #self.children > 0 then | ||||||
|         for i, child_id in pairs(self.children) do |         for i, child_id in pairs(self.children) do | ||||||
|             local child = modpol.orgs.get_org(child_id) |             local child = modpol.orgs.get_org(child_id) | ||||||
|             print(child_id, child) |             modpol.ocutil.log(child_id, child) | ||||||
|             child:delete() |             child:delete() | ||||||
|         end |         end | ||||||
|     end |     end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user