reset function now regenerates the instance
This commit is contained in:
parent
28e31eebc9
commit
c44defa864
@ -75,6 +75,9 @@ function modpol.orgs.reset()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
modpol.orgs.array[1] = nil
|
||||||
|
modpol.orgs.init_instance()
|
||||||
|
|
||||||
modpol.ocutil.log('Reset all orgs')
|
modpol.ocutil.log('Reset all orgs')
|
||||||
modpol.orgs:record('Resetting all orgs', 'org_reset')
|
modpol.orgs:record('Resetting all orgs', 'org_reset')
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user